dns server isnt working...

Kevin Darcy kcd at daimlerchrysler.com
Thu Jan 23 21:26:17 UTC 2003



Sadjied Idoe wrote:

> Hi,
>
> I run BIND 9.2.1 on rh8.0.
> the forwards (i think whole the dns server) are not working:
>
> [root at unlimited-xs root]# tail -f /var/log/messages
> Jan 23 17:01:53 unlimited-xs named[5187]: using 1 CPU
> Jan 23 17:01:53 unlimited-xs named[5187]: loading configuration from
> '/etc/named.conf'
> Jan 23 17:01:53 unlimited-xs named[5187]: no IPv6 interfaces found
> Jan 23 17:01:53 unlimited-xs named[5187]: listening on IPv4 interface lo,
> 127.0.0.1#53
> Jan 23 17:01:53 unlimited-xs named[5187]: listening on IPv4 interface eth0,
> 192.168.0.1#53
> Jan 23 17:01:53 unlimited-xs named[5187]: listening on IPv4 interface ppp0,
> 80.126.40.182#53
> Jan 23 17:01:53 unlimited-xs named[5187]: command channel listening on
> 127.0.0.1#953
> Jan 23 17:01:53 unlimited-xs named[5187]: zone sadjieds-network.com/IN:
> loaded serial 1043335828
> Jan 23 17:01:53 unlimited-xs named[5187]: running
> Jan 23 17:01:53 unlimited-xs named[5187]: zone sadjieds-network.com/IN:
> sending notifies (serial 1043335828)
>
> root at web:/var/named# nslookup -type=NS sadjieds-network.com
> Note:  nslookup is deprecated and may be removed from future releases.
> Consider using the `dig' or `host' programs instead.  Run nslookup with
> the `-sil[ent]' option to prevent this message from appearing.
> Server:         81.23.237.2
> Address:        81.23.237.2#53
>
> ** server can't find sadjieds-network.com: SERVFAIL
>
> root at web:/var/named# nslookup -type=NS sadjieds-network.com
> Note:  nslookup is deprecated and may be removed from future releases.
> Consider using the `dig' or `host' programs instead.  Run nslookup with
> the `-sil[ent]' option to prevent this message from appearing.
> Server:         81.23.237.2
> Address:        81.23.237.2#53
>
> root at web:/var/named# dig ns1.sadjieds-network.com
>
> ; <<>> DiG 9.2.1 <<>> ns1.sadjieds-network.com
> ;; global options:  printcmd
> ;; Got answer:
> ;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 54180
> ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0
>
> ;; QUESTION SECTION:
> ;ns1.sadjieds-network.com.      IN      A
>
> ;; Query time: 239 msec
> ;; SERVER: 81.23.237.2#53(81.23.237.2)
> ;; WHEN: Thu Jan 23 16:59:57 2003
> ;; MSG SIZE  rcvd: 42
>
> root at web:/var/named# host ns1.sadjieds-network.com
> Host ns1.sadjieds-network.com not found: 2(SERVFAIL)
>
> Whats wrong?
> my /etc/named.conf:
> options {
>         directory "/var/named";
>         allow-transfer {
>                 81.23.237.234;
>                 };
> };
>
> zone "sadjieds-network.com" {
>         type master;
>         file "/var/named/sadjieds-network.com.hosts";
>         };
>
> my /var/named/sadjieds-network.com.hosts :
> $ttl 38400
> sadjieds-network.com.   IN      SOA     ns1.sadjieds-network.com.
> root.sadjieds-network.com. (
>                         1043335828
>                         10800
>                         3600
>                         604800
>                         38400 )
> sadjieds-network.com.   IN      NS      ns1.sadjieds-network.com.
> sadjieds-network.com.   IN      NS      ns2.sadjieds-network.com.
> ns1.sadjieds-network.com.       IN      A       80.126.40.182
> ns2.sadjieds-network.com.       IN      A       81.23.237.234
> web.sadjieds-network.com.       IN      A       80.126.40.182

I can query the sadjieds-network.com domain from the Internet, so I think you
have some sort of local networking/routing problem. I note that the zone you
show above is not what is being served on the Internet. What is being served
publically has a bunch of 192.168.*.* (i.e. private) addresses, which should
not be in an Internet DNS zone.


- Kevin





More information about the bind-users mailing list