dns: log qname in error

This commit is contained in:
nadoo committed 2020-04-28 12:23:21 +08:00
1 parent 76fddcc29c
commit c2d9c67214
5 files changed
+16 -17

No files matched your search

+1 -1
View File
@@ -15,7 +15,7 @@ import (
// Messages carried by UDP are restricted to 512 bytes (not counting the IP
// or UDP headers). Longer messages are truncated and the TC bit is set in
// the header.
const UDPMaxLen = 512
const UDPMaxLen = 510
// HeaderLen is the length of dns msg header.
const HeaderLen = 12