named not resolving past CNAME?
drahbany at my-deja.com
drahbany at my-deja.com
Thu May 4 17:06:38 UTC 2000
Hello gurus,
I am not by any stretch a DNS expert, and I'm having a rather strange
problem that I hope you can help resolve. I have an "internal" DNS
server (running HP-UX 10.20) that is authoritative for "internal" or
local domains. All other queries are forwarded to a DNS server (running
RH Linux 6.0) as specified by the "forwarders" line in /etc/named.boot.
So, here's the problem: If I do an "nslookup" on www.yahoo.com, the
server returns an error saying "no address information found".
If I do an nslookup specifying CNAME as the querytype for www.yahoo.com,
the server replies with the canonical name for www.yahoo.com, which is
www.yahoo.akadns.net.
Then, if I do an nslookup on www.yahoo.akadns.net the server returns a
list of IP addresses associated with that host.
Finally, if I do an nslookup again for www.yahoo.com, the server returns
a list of IP addresses associated with that host - as I would have
expected with the FIRST QUERY!
I've attached the transcript of the scenario I just described (note:
I've changed my internal named/addresses to protect the innocent).
Please help if you can!
TRANSCRIPT FOLLOWS:
//nameserver/roots # nslookup -ty=A www.yahoo.com
Name Server: nameserver.mydomain.com
Address: 192.168.100.100
Trying DNS
looking up FILES
*** No address information is available for "www.yahoo.com"
//nameserver/roots # nslookup -ty=CNAME www.yahoo.com
Name Server: nameserver.mydomain.com
Address: 192.168.100.100
Trying DNS
Non-authoritative answer:
www.yahoo.com canonical name = www.yahoo.akadns.net
Authoritative answers can be found from:
yahoo.com nameserver = ns1.yahoo.com
yahoo.com nameserver = ns2.dca.yahoo.com
yahoo.com nameserver = ns3.europe.yahoo.com
yahoo.com nameserver = ns5.dcx.yahoo.com
ns1.yahoo.com internet address = 204.71.200.33
ns2.dca.yahoo.com internet address = 209.143.200.34
ns3.europe.yahoo.com internet address = 194.237.108.51
ns5.dcx.yahoo.com internet address = 216.32.74.10
//nameserver/roots # nslookup -ty=A www.yahoo.akadns.net
Name Server: nameserver.mydomain.com
Address: 192.168.100.100
Trying DNS
Name: www.yahoo.akadns.net
Addresses: 204.71.200.75, 204.71.200.67, 204.71.200.68, 204.71.202.160
204.71.200.74
//nameserver/roots # nslookup -ty=A www.yahoo.com
Name Server: nameserver.mydomain.com
Address: 192.168.100.100
Trying DNS
Non-authoritative answer:
Name: www.yahoo.akadns.net
Addresses: 204.71.200.67, 204.71.200.68, 204.71.202.160, 204.71.200.74
204.71.200.75
Aliases: www.yahoo.com
END OF TRANSCRIPT.
THANKS FOR YOUR HELP,
David Rahbany
Sent via Deja.com http://www.deja.com/
Before you buy.
More information about the bind-users
mailing list