1 parent
fda412a151
commit
3cb6f1b3cc
1 file changed
+1
-1
@@ -103,7 +103,7 @@ func notUsHandler() dns.HandlerFunc {
|
||||
q := r.Question[0]
|
||||
Debug.Printf("Non-local query: %+v", q)
|
||||
var responseMsg *dns.Msg
|
||||
if q.Qtype == dns.TypeA {
|
||||
if q.Qtype == dns.TypeA || q.Qtype == dns.TypeAAAA {
|
||||
if addrs, err := net.LookupIP(q.Name); err == nil {
|
||||
responseMsg = makeAddressReply(r, &q, addrs)
|
||||
} else {
|
||||
|
||||
Reference in new issue
Block a user