DNS configuration problems with 9.2 SERVFAIL

Kevin Darcy kcd at daimlerchrysler.com
Sat Apr 6 00:22:02 UTC 2002


Well, your zone definition is for "168.192.in-addr.arpa", but the
SOA and NS records in the zonefile are for "1.168.192.in-addr.arpa",
which doesn't match. There should have been a "failed to load" error in
your logfile for this zone.

To avoid such problems, I usually use "@" as the owner name for SOA and
NS records in new zonefiles I create.


- Kevin

vishal wrote:

> Hi there,
>    I have installed version 9.2 on my machine. The thing is firstly I
> could not find the configuration files there. COuld someone please
> tell me the default location of named.conf.
>
> Second I have installed named.conf on /etc/ and also on /var/named
> just as an extra measure. I am trying to setup a machine to do
> internal DNS resolution. But when i do a nslookup after the whole
> process of configuring and starting the DNS server - I get
>
> # nslookup 192.168.1.1
> *** Can't find server name for address 192.168.1.2: Server failed
> *** Default servers are not available
>
> OR
>
> > 192.168.1.1
> Server:         homer.com
> Address:        192.168.1.2#53
>
> ** server can't find 1.1.168.192.in-addr.arpa: SERVFAIL
>
> Below is my named.conf, named.rev, /etc/hosts file, the zone file and
> the named.ca where i define the internal DNS resolution
>
> ---------named.conf----------
> options {
>         directory "/var/named"
>         pid-file "named.pid";
>         named-xfer "/usr/sbin/named-xfer"
>         recursion no;
> };
>
> zone "." {
>         type hint;
>         file "root.db";
> };
>
> zone "homer.com" {
>         type master;
>         file "homer.db";
> };
>
> zone "168.192.in-addr.arpa" {
>         type master;
>         file "named.rev";
> };
>
> ----------------------named.rev-----------------------------
> 1.168.192.in-addr.arpa. IN SOA donut.homer.com root.homer.com (
>
> 2002040501  ; Serial No
> 10800       ; Refresh Time
> 10800       ; Retry Time
> 604800      ; Expire Time
> 86400       ; TTL time )
>
> 1.168.192.in-addr.arpa.  IN  NS  donut.homer.com
> 2                        IN  PTR donut.homer.com
> 1                        IN  PTR domer.homer.com
>
> -------------------------homer.db (zone
> file)------------------------------
> homer.com   IN SOA donut.homer.com root.homer.com (
>
> 2002040501 ; serial no (YYYYMMDD##)
> 10800      ; refresh time
> 10800      ; retry time
> 604800     ; expire time
> 86400      ; TTL time )
>
> homer.com       IN   NS donut.homer.com
> donut           IN   A  192.168.1.2
> domer           IN   A  192.168.1.1
>
> -------------------------root.db (internal DNS resolution for
> intranet---------
> .               99999999 IN NS donut.homer.com
> donut.homer.com 99999999 IN A 192.168.1.2
>
> ------------------------/etc/hosts-----------------------------
> # Internet host table
> #
> 127.0.0.1       localhost
> 192.168.1.2     homer.com donut.homer.com loghost
> 192.168.1.1     domer
>
> ---------------------------/etc/resolv.conf
> ------------------------------
> nameserver 192.168.1.2
>
> Thanks b4hand - ur help is greatly appreciated



More information about the bind-users mailing list