From 3b36400e356ff5ed30215a23042caf29a2463400 Mon Sep 17 00:00:00 2001 From: Dmytro Shynkevych Date: Tue, 14 Jul 2020 18:47:49 -0400 Subject: [PATCH] tsdns: response to type ANY queries Signed-off-by: Dmytro Shynkevych --- wgengine/tsdns/tsdns.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wgengine/tsdns/tsdns.go b/wgengine/tsdns/tsdns.go index 3536f018a..9f77fdb99 100644 --- a/wgengine/tsdns/tsdns.go +++ b/wgengine/tsdns/tsdns.go @@ -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.