chore: debug log print dns result

This commit is contained in:
adlyq 2022-05-17 18:21:18 +08:00
parent c4408612b3
commit f4d9384603

View file

@ -164,6 +164,7 @@ func withResolver(resolver *Resolver) handler {
msg.SetRcode(r, msg.Rcode)
msg.Authoritative = true
log.Debugln("[DNS] %s --> %s", msgToDomain(r), msgToIP(msg))
return msg, nil
}
}