Bug 77937

Summary: BIND tools fail on hosts without IPv6 and NSes with AAAA
Product: Base System Reporter: Valentin Nechayev <netch>
Component: binAssignee: Doug Barton <dougb>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 4.9-RELEASE   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description Valentin Nechayev 2005-02-22 22:40:16 UTC
When quering something from NSes with AAAA (e.g. ns.ripe.net) on host without
IPv6 in kernel, dig, host, nslookup fail to fall back to IPv4.

Fix: Patch follows.
How-To-Repeat: 
Screenshot of failure:

$ dig @ns.ripe.net -x 193 ns

; <<>> DiG 8.3 <<>> @ns.ripe.net -x ns 
; (2 servers found)
;; res options: init recurs defnam dnsrch
;; res_nsend: Protocol not supported
Comment 1 Doug Barton freebsd_committer freebsd_triage 2005-02-23 13:32:28 UTC
State Changed
From-To: open->closed


This kind of patch should really be sent to the BIND authors. 
The canonical solution to this problem traditionally has been 
to use the IPv4 address of the host, rather than the host name. 

I agree that your suggestion has merit, but I do not want to 
introduce such a fundamental difference in the way that BIND 
works on FreeBSD from other platforms.  


Comment 2 Doug Barton freebsd_committer freebsd_triage 2005-02-23 13:32:28 UTC
Responsible Changed
From-To: freebsd-bugs->dougb


I generally maintain BIND bits.