tsdns: response to type ANY queries
Signed-off-by: Dmytro Shynkevych <dmytro@tailscale.com>reviewable/pr557/r1
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…
Reference in New Issue