chore: debug log print dns result
This commit is contained in:
parent
c4408612b3
commit
f4d9384603
1 changed files with 1 additions and 0 deletions
|
@ -164,6 +164,7 @@ func withResolver(resolver *Resolver) handler {
|
||||||
msg.SetRcode(r, msg.Rcode)
|
msg.SetRcode(r, msg.Rcode)
|
||||||
msg.Authoritative = true
|
msg.Authoritative = true
|
||||||
|
|
||||||
|
log.Debugln("[DNS] %s --> %s", msgToDomain(r), msgToIP(msg))
|
||||||
return msg, nil
|
return msg, nil
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue