Why doesn't bind query the second DNS?
Pete Ehlke
pde at ehlke.net
Sat Aug 31 17:24:12 UTC 2002
On Sat, Aug 31, 2002 at 06:48:07PM +0200, Leonard den Ottolander wrote:
>
> Hi,
>
> Running a caching only nameserver, bind-9.2.1-0.6x-3 on Red Hat Linux 6.2. It
> seems name queries fail if the first authoritative DNS for a domain is not
> available. I am a little surprised the secondary DNS is not being queried. Any
> explanation?
> (Please ask if more info is needed.)
>
> Thanks,
> Leonard.
>
[snip]
> [leonard at firewall leonard]$ dig www.linux-easy.com @a.gtld-servers.net
>
> ; <<>> DiG 9.2.1 <<>> www.linux-easy.com @a.gtld-servers.net
> ;; global options: printcmd
> ;; Got answer:
> ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 12779
> ;; flags: qr rd; QUERY: 1, ANSWER: 0, AUTHORITY: 2, ADDITIONAL: 2
>
> ;; QUESTION SECTION:
> ;www.linux-easy.com. IN A
>
> ;; AUTHORITY SECTION:
> linux-easy.com. 172800 IN NS DNS1.YOHO.com.
> linux-easy.com. 172800 IN NS DNS2.YOHO.com.
>
> ;; ADDITIONAL SECTION:
> DNS1.YOHO.com. 172800 IN A 61.220.123.84
> DNS2.YOHO.com. 172800 IN A 61.220.123.85
>
bastet[~]$ dig +short yoho.com ns
ns2.mydomain.com.
ns3.mydomain.com.
ns4.mydomain.com.
ns1.mydomain.com.
bastet[~]$ dig +short dns1.yoho.com @ns1.mydomain.com
64.29.19.71
64.29.19.73
66.33.61.127
bastet[~]$ dig +short dns2.yoho.com @ns1.mydomain.com
64.29.19.73
66.33.61.127
64.29.19.71
bastet[~]$
Are you responsible for yoho.com? I'm not the least bit clear about what
the point of this is.
> [leonard at firewall leonard]$ dig www.linux-easy.com @dns2.yoho.com
>
> ; <<>> DiG 9.2.1 <<>> www.linux-easy.com @dns2.yoho.com
> ;; global options: printcmd
> ;; Got answer:
> ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 33533
> ;; flags: qr aa rd; QUERY: 1, ANSWER: 3, AUTHORITY: 0, ADDITIONAL: 0
>
> ;; QUESTION SECTION:
> ;www.linux-easy.com. IN A
>
> ;; ANSWER SECTION:
> www.linux-easy.com. 12000 IN CNAME linux-easy.com.
> linux-easy.com. 12000 IN A 64.239.85.40
> www.linux-easy.com. 12000 IN A 64.239.85.40
CNAME and other data error. The zone is broken.
> ;; Query time: 561 msec
> ;; SERVER: 61.220.123.84#53(dns2.yoho.com)
> ;; WHEN: Sat Aug 31 18:21:36 2002
> ;; MSG SIZE rcvd: 146
>
> [leonard at firewall leonard]$ nslookup -sil www.linux-easy.com
> ;; connection timed out; no servers could be reached
>
Well, given that ns1.yoho.com and ns2.yoho.com seem to be the same
machines, and none of them seem to be answering at all at the moment,
this isn't surprising.
-P.
More information about the bind-users
mailing list