HELP...can't have a successful lookups...

Kevin Darcy kcd at daimlerchrysler.com
Mon Jun 11 21:20:42 UTC 2001


Well, a query for 1.0.168.192.in-addr.arpa is returning SERVFAIL from your nameserver
for some reason, but offhand the zonefile for 0.168.192.in-addr.arpa looks OK.

This is a home network, does it have any external connectivity? If not, then you should
be defining your own root zone as master instead of using a hints file. Maybe your
nameserver is not starting up properly because of this, and that might be what's
causing the SERVFAIL.

By the way, dig doesn't have an interactive mode. You need to specify a name to look up
on the command line.


- Kevin

Sano B Rutsen wrote:

> I have a Slakware7.1 and installed Bind-9.1.2 in it. I was setting it
> up as a DNS server for my home network of 2 computers(the other runs Win98).
> I was able to have a successful << rndc reload >>, but whenever i try the following:
>
> A) root at ns# nslookup
> > 192.168.0.1
> //i get ...
> Server: 127.0.0.1
> ADDRESS: 127.0.0.1#53
>
> ** server can't find 1.0.168.192.in-addr.arpa.: SERVFAIL
>
> B) root at ns# dig
> ;<<>>> DIG 9.1.2 <<>>
> ;;global options: printcmd
> :: connection timed out; no server could be reach
>
> C)root at ns# nslookup          >> This is the only time I
> > 127.0.0.1                  >> got a friendly response
> //i get ...
> Server: 127.0.0.1
> ADDRESS: 127.0.0.1#53
>
> 1.0.0.127.in-addr.arpa. name = localhost.
>
> What could be the problem??? Below conf & files used by bind:
>
> 1)named.conf
> options { directory "/var/named"; };
>
> zone "."  {     type hint; file "caching-example/named.ca"; };
>
> zone "0.0.127.in-addr.arpa" { type master;
>       file "caching-example/named.local";
>       allow-update { none; };
> };
>
> controls { inet 127.0.0.1 allow { localhost; } keys { rndckey; }; };
>
> key "rndckey" {
>         algorithm       hmac-md5;
>         secret "d6+Z5bJwcPpZXpTFDeMORQ==";
> };
>
> zone "karakus.net" { type master; file "net.db"; };
>
> zone "0.168.192.in-addr.arpa" { type master; file "net.rev"; };
>
> 2)named.local
> $TTL    86400
> @       IN      SOA     ns.karakus.net. root.ns.karakus.net.  (
>                                       2001052202 ; Serial
>                                       28800      ; Refresh
>                                       14400      ; Retry
>                                       3600000    ; Expire
>                                       86400 )    ; Minimum
>               IN      NS      ns.karakus.net.
> 1       IN      PTR     localhost.
>
> 3) net.db
> @       IN SOA  ns.karakus.net. root.ns.karakus.net. (
>                                        2001052202  ; Serial
>                                        3600    ; Refresh
>                                        300     ; Retry
>                                        3600000 ; Expire
>                                        3600 )  ; Minimum
>                 IN      NS      ns.karakus.net.
> localhost.      IN      A       127.0.0.1
> ns              IN      A       192.168.0.1
> ildrich IN      A       192.168.0.2
>
> 4) net.rev
> @       IN SOA  ns.karakus.net. root.ns.karakus.net. (
>                                        2001052202  ; Serial
>                                        3600    ; Refresh
>                                        300     ; Retry
>                                        3600000 ; Expire
>                                        3600 )  ; Minimum
>                 NS      ns.karakus.net.
> 1               PTR     ns.karakus.net.
> 2               PTR     ildrich.karakus.net.
>
> 5) resolv.conf
> search ns.karakus.net
> nameserver 192.168.0.1
> nameserver 127.0.0.1
>
> 6) rndc.conf
> options {
>         default-server  localhost;
>         default-key     "rndckey";
> };
>
> server localhost {
>         key     "rndckey";
> };
>
> key "rndckey" {
>         algorithm       hmac-md5;
>         secret "d6+Z5bJwcPpZXpTFDeMORQ==";
> };
>
> Is there anything wrong with these files? If you have comments,
> suggestions, corrections, or anything... please email me...
> I would appreciate any help. Thanx in advance!
>
> -Heiko
>
> __________________________________
> www.edsamail.com





More information about the bind-users mailing list