mirror of
https://github.com/tailscale/tailscale.git
synced 2025-03-24 10:10:59 +00:00
tsdns: response to type ANY queries
Signed-off-by: Dmytro Shynkevych <dmytro@tailscale.com>
This commit is contained in:
parent
c9e40abfb8
commit
3b36400e35
@ -439,7 +439,7 @@ func (r *Resolver) respond(query []byte) ([]byte, error) {
|
||||
}
|
||||
|
||||
switch resp.Question.Type {
|
||||
case dns.TypeA, dns.TypeAAAA:
|
||||
case dns.TypeA, dns.TypeAAAA, dns.TypeALL:
|
||||
domain := resp.Question.Name.String()
|
||||
// Strip off the trailing period.
|
||||
// This is safe: Name is guaranteed to have a trailing period by construction.
|
||||
|
Loading…
x
Reference in New Issue
Block a user