Can't find Server Name error
David A. Nelson
davido at austin.rr.com
Sat Apr 29 15:20:20 UTC 2000
Ok, I think I need a little help. This may be way simple or
hopelessly tangled but I've been banging around on this with
a hammer and getting nowhere.
When I try to do nslookup -- for anything including
localhost and my correct hostname (files appended to end of
this letter) I get the following error.
[root at kumo /root]# nslookup localhost
*** Can't find server name for address 64.217.68.34: No
response from server
*** Default servers are not available
[root at kumo /root]#
or if I nslookup some known web site like www.io.com
[root at kumo named]# nslookup www.io.com
*** Can't find server name for address 64.217.68.34: No
response from server
*** Default servers are not available
[root at kumo named]#
I believe I have properly registered the name servers with
register.com (where I purchased the domain name. (last
night)
I have requested the ISP to delegate the reverse mapping for
my subnet. (last night)
It seems that earlier in this episode I actually had
nslookup working just fine before I registered anything.
This of course makes me think I've gorked something here.
When I restart named then check /var/log/messages all seems
ok. There is a nagging message about not finding TTL (which
seems to be there) but the log happily reports using default
value -- seems ok.
I have the slave nameserver doing it's zone transfers etc.
ok.
I'm not sure what to include here so I've got it all. These
are all real names and IP numbers -- seems that if it is a
nameserver all this stuff is there for the world to see
anyway.
I'm wondering (Santa Claus anyone) if maybe it will all
start working when register.com and my ISP's records are "up
and running".
The ISP is swbell.net
their nameservers are
151.164.1.8
151.164.1.7
Ok, here's my dirty laundry
/etc/resolv.conf
search kndn.com swbell.net
#nameserver 151.164.1.7
#nameserver 151.164.1.8
nameserver 64.217.68.34
(the SWBELL ns commented out while testing stuff)
/etc/hosts if it matters
127.0.0.1 localhost.localdomain localhost
64.217.68.34 kumo.kndn.com kumo
64.217.68.33 keigo.kndn.com keigo
64.217.68.35 kabuki.kndn.com kabuki
/etc/HOSTNAME
kumo.kndn.com
/etc/named.conf
options {
directory "/var/named";
query-source address * port 53;
};
zone "." in {
type hint;
file "db.cache";
};
zone "0.0.127.in-addr.arpa" in {
type master;
file "db.127.0.0";
};
zone "kndn.com" in {
type master;
file "db.kndn";
};
zone "32/30.68.217.64.in-addr.arpa" in {
type master;
file "db.64.217.68";
};
/var/named/db.kndn
@ IN SOA kumo.kndn.com. david.kndn.com. (
5 ; Serial
10800 ; Refresh after 3 hours
3600 ; Retry after 1 hour
604800 ; Expire after 1 week
86400 ; Minumum TTL of 1 day
)
;
@ IN NS kumo.kndn.com.
@ IN NS kabuki.kndn.com.
;
; Host Addresses
localhost IN A 127.0.0.1
kumo IN A 64.217.68.34
keigo IN A 64.217.68.33
kabuki IN A 64.217.68.35
stella IN A 64.217.68.36
stanley IN A 64.217.68.37
;
; Aliases
www IN CNAME kumo
mail IN A 64.217.68.34
IN MX 10 mail
IN MX 20 mail2
mail2 IN A 64.217.68.35
IN MX 10 mail
IN MX 20 mail2
/var/named/db.127.0.0
0.0.127.in-addr.arpa. IN SOA kumo.kndn.com. david.kndn.com.
(
1 ; Serial
10800 ; Refresh after 3 hours
3600 ; Retry after 1
hours
604800 ; Expire after 1 week
86400 ; Minumum TTL of 1 Day
)
0.0.127.in-addr.arpa. IN NS kumo.kndn.com.
0.0.127.in-addr.arpa. IN NS kabuki.kndn.com.
;
;
1.0.0.127.in-addr.arpa. IN PTR localhost.
/var/named/db.64.217.68 (network is 64.217.68.32/30)
I got the form for this from RFC 2317
$ORIGIN 32/30.68.217.64.in-addr.arpa.
@ IN SOA kumo.kndn.com. david.kndn.com. (
4 ; Serial
10800 ; Refresh after 3 hours
3600 ; Retry after 1 hour
604800 ; Expire after 1 week
86400) ; Minumum TTL of 1 day
;
; Name Servers
;
@ IN NS kumo.kndn.com.
@ IN NS kabuki.kndn.com.
;
; Addresses Point to canonical name
;
33 IN PTR keigo.kndn.com.
34 IN PTR kumo.kndn.com.
35 IN PTR kabuki.kndn.com.
36 IN PTR stella.kndn.com.
37 IN PTR stanley.kndn.com.
;
;
when I restart named here is the output of
tail /var/log/messages
[root at kumo named]# tail /var/log/messages
Apr 29 12:11:45 kumo named[5841]: Zone "kndn.com" (file
db.kndn): No default TTL set using SOA minimum instead
Apr 29 12:11:45 kumo named[5841]: master zone "kndn.com"
(IN) loaded (serial 5)
Apr 29 12:11:45 kumo named[5841]: Zone
"32/30.68.217.64.in-addr.arpa" (file db.64.217.68): No
default TTL set using SOA minimum instead
Apr 29 12:11:45 kumo named[5841]: master zone
"32/30.68.217.64.in-addr.arpa" (IN) loaded (serial 4)
Apr 29 12:11:45 kumo named[5841]: listening on
[127.0.0.1].53 (lo)
Apr 29 12:11:45 kumo named[5841]: listening on
[64.217.68.34].53 (eth0)
Apr 29 12:11:45 kumo named[5841]: Forwarding source address
is [0.0.0.0].53
Apr 29 12:11:45 kumo named: named startup succeeded
Apr 29 12:11:45 kumo named[5842]: Ready to answer queries.
Apr 29 12:11:55 kumo named[5842]: Sent NOTIFY for
"0.0.127.in-addr.arpa IN SOA" (0.0.127.in-addr.arpa); 1 NS,
1 A
Any help or advice appreciated in advance
David Nelson
More information about the bind-users
mailing list