Closed andrewtj closed 8 years ago
Indeed, it seems dns.Exchange()
behavior was changed a couple months ago.
Thanks for reporting this, it should be fixed now.
It looks like this behavior was reverted in https://github.com/miekg/dns/issues/814
Now rrda fails to build as a result:
../../go/src/github.com/fcambus/rrda/rrda.go:125:19: undefined: dns.ErrTruncated
Indeed, thanks for reporting this, I reverted to the previous behavior.
RRDA should now build again.
If the TC bit is set
dns.Exchange()
will returndns.ErrTruncated
which is not caught in resolve(). Tested by looking up_http._tcp.dns-sd.org. IN PTR
.