Truncated Message Handling
andrewtj opened this issue · comments
Andrew Tunnell-Jones commented
If the TC bit is set dns.Exchange()
will return dns.ErrTruncated
which is not caught in resolve(). Tested by looking up _http._tcp.dns-sd.org. IN PTR
.
Frederic Cambus commented
Indeed, it seems dns.Exchange()
behavior was changed a couple months ago.
Thanks for reporting this, it should be fixed now.
James Munson commented
It looks like this behavior was reverted in miekg/dns#814
Now rrda fails to build as a result:
../../go/src/github.com/fcambus/rrda/rrda.go:125:19: undefined: dns.ErrTruncated
Frederic Cambus commented
Indeed, thanks for reporting this, I reverted to the previous behavior.
RRDA should now build again.