Caching-only server problem
Mishari Al-Faris
mishary at qualitynet.net
Thu Sep 25 07:14:39 UTC 2003
Hello all,
I'm trying to setup a Caching-only DNS server to resolve the majority of
our ISP's customers' requests. We have 2 main DNS servers
ns1.qualitynet.net and ns2.qualitynet.net which handle both our domains
and recursion, which is not a good thing I admit, and we're trying to
change that.
The problem I'm having is, as simple as the configuration of the
Caching-only server is, I keep getting the following when I use nslookup
on FreeBSD or Linux:
bash-2.05a# nslookup cnn.com vera2
*** Can't find server name for address 213.189.95.29: Non-existent
host/domain
*** Default servers are not available
Where vera2 is the new Caching-only server I'm trying to setup, and
213.189.95.29 is its IP address.
When I try nslookup from WinXP I get this:
C:\Documents and Settings\misho>nslookup cnn.com vera2
*** Can't find server name for address 213.189.95.29: Non-existent domain
Server: UnKnown
Address: 213.189.95.29
Non-authoritative answer:
Name: cnn.com
Addresses: 64.236.24.20, 64.236.24.28, 64.236.16.20, 64.236.16.52
64.236.16.84, 64.236.16.116, 64.236.24.4, 64.236.24.12
Which works, but still that "Server: UnKnown" is kinda funky.
If I use DiG everything is fine:
bash-2.05a# dig @213.189.83.102 cnn.com
; <<>> DiG 8.3 <<>> @213.189.83.102 cnn.com
; (1 server found)
;; res options: init recurs defnam dnsrch
;; got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 4
;; flags: qr rd ra; QUERY: 1, ANSWER: 8, AUTHORITY: 0, ADDITIONAL: 0
;; QUERY SECTION:
;; cnn.com, type = A, class = IN
;; ANSWER SECTION:
cnn.com. 1m24s IN A 64.236.16.116
cnn.com. 1m24s IN A 64.236.24.4
cnn.com. 1m24s IN A 64.236.24.12
cnn.com. 1m24s IN A 64.236.24.20
cnn.com. 1m24s IN A 64.236.24.28
cnn.com. 1m24s IN A 64.236.16.20
cnn.com. 1m24s IN A 64.236.16.52
cnn.com. 1m24s IN A 64.236.16.84
;; Total query time: 1 msec
;; FROM: monitor.qualitynet.net to SERVER: 213.189.83.102 213.189.83.102
;; WHEN: Thu Sep 25 10:11:40 2003
;; MSG SIZE sent: 25 rcvd: 153
Which is cool.
My Caching only server's named.conf is as follows:
zone "0.0.127.in-addr.arpa" {
type master;
file "/etc/db/db.127.0.0";
};
zone "." {
type hint;
file "/etc/db/db.cache";
};
Just as suggested in all the books I read.
Should I worry about this weird nslookup behavior?
Thanks all.
More information about the bind-users
mailing list