diff --git a/dns.go b/dns.go index 40c806e..a8b5062 100644 --- a/dns.go +++ b/dns.go @@ -432,6 +432,9 @@ func (s *ChallSrv) dnsHandlerInner(w writeMsg, r *dns.Msg, userAgent string) { m := new(dns.Msg) m.SetReply(r) m.Compress = false + // AA: challtestsrv is the authoritative server for every name it answers + // (RFC 1035 ยง4.1.1). + m.Authoritative = true // For each question, add answers based on the type of question for _, q := range r.Question {