DNS configuration problems with 9.2 SERVFAIL

Mark_Andrews at isc.org Mark_Andrews at isc.org
Sat Apr 6 00:26:51 UTC 2002


> 
> 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

	Please examine your log files.

	You need to decide what the reverse zone is being called
	168.192.in-addr.arpa or 1.168.192.in-addr.arpa?  You have
	one name in named.conf and the other in the zone data.

	Mark

> 
> # 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
> 
--
Mark Andrews, Internet Software Consortium
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742                 INTERNET: Mark.Andrews at isc.org


More information about the bind-users mailing list