FreeBSD sometimes returns spurious errors in UDP connect() attempts, so we try a few times before giving up. However, each failed attempt triggers a call to udp_ready() in dighost.c, and that was causing the query object to be detached prematurely.
FreeBSD sometimes returns spurious errors in UDP connect() attempts, so we try a few times before giving up. However, each failed attempt triggers a call to udp_ready() in dighost.c, and that was causing the query object to be detached prematurely.