"host" cannot see sites in .org
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
bind9 (Ubuntu) |
Invalid
|
Medium
|
LaMont Jones |
Bug Description
Binary package hint: bind9
Consider this:
$ host -t ns org.
org name server tld1.ultradns.net.
org name server c0.org.
org name server b0.org.
org name server tld2.ultradns.net.
org name server a0.org.
org name server d0.org.
Fine. Now ask a .org nameserver for the nameservers for a particular .org domain:
# host -t ns sourceforge.org. tld1.ultradns.net.
Using domain server:
Name: tld1.ultradns.net.
Address: 204.74.112.1#53
Aliases:
sourceforge.org has no NS record
Urk! -v will give more information:
$ host -v -t ns sourceforge.org. tld1.ultradns.net.
Trying "sourceforge.org"
Using domain server:
Name: tld1.ultradns.net.
Address: 204.74.112.1#53
Aliases:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 52742
;; flags: qr rd; QUERY: 1, ANSWER: 0, AUTHORITY: 3, ADDITIONAL: 0
;; QUESTION SECTION:
;sourceforge.org. IN NS
;; AUTHORITY SECTION:
sourceforge.org. 86400 IN NS ns3.ostg.com.
sourceforge.org. 86400 IN NS ns2.ostg.com.
sourceforge.org. 86400 IN NS ns1.ostg.com.
Received 95 bytes from 204.74.112.1#53 in 18 ms
So, .org is reporting the nameservers in the AUTHORITY section rather than the ANSWER section. bind9 can't handle this. Is this a bug in bind9 or the .org nameservers?
Host information:
$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_
DISTRIB_
DISTRIB_
$ dpkg -S /usr/bin/host
bind9-host: /usr/bin/host
$ dpkg -l bind9-host
Desired=
| Status=
|/ Err?=(none)
||/ Name Version Description
+++-=
ii bind9-host 1:9.4.1-P1-3ubuntu1 Version of 'host' bundled with BIND 9.X
"host" on Fedora 8 (bind-utils- 9.5.0-23. b1.fc8. x86_64) and MacOS 10.5 both suffer this bug.
However, Fedora's named (bind-9. 5.0-23. b1.fc8. x86_64) does not have this problem!
Fedora8> host -t ns sourceforge.org. localhost.
Using domain server:
Name: localhost.
Address: 127.0.0.1#53
Aliases:
sourceforge.org name server ns3.ostg.com.
sourceforge.org name server ns1.ostg.com.
sourceforge.org name server ns2.ostg.com.
However, ubuntu named fails:
ubuntu> host -t ns mirrorservice.org. localhost.
<time passes>
;; connection timed out; no servers could be reached