SUMMARY: solaris 8 BIND stops resolving reverse DNS

From: john jens <johnjens_at_gmail.com>
Date: Tue Apr 05 2005 - 16:12:47 EDT
Many thanks to Richard Sullivan for pointing me in the right direction.

I manually incremented the serial number to a much higher value on
db.10.162.131 and while editing the file found a typo in one of the
entries. I double-checked the BIND logging and indeed, the db file was
not being loading. Once the hosts file was corrected and the db
regenerated, named is able to resolve reverse lookups for all subnets.

cheers,
john jens

> My internal DNS server has mysteriously stopped resolving reverse DNS
> requests while I was on vacation (that'll teach me). I've rebuilt the
> db files, via a customized hosts_to_network script, several times with
> no effective change. Here's the kicker: the DNS server is multi-homed
> and reverse lookups for the second subnet  work on the secondary
> interface. (clear as mud. see examples.)
> 
> cheers,
> john jens
> 
> # nslookup foo
> *** Can't find server name for address 10.162.131.21: Non-existent host/domain
> *** Default servers are not available
> #
> # nslookup foo dns3
> Server:  dns3.lab.priceinteractive.com
> Address:  10.162.130.21
> 
> Name:    foo.lab.priceinteractive.com
> Address:  10.162.131.44
> #
> # nslookup 10.162.131.44
> *** Can't find server name for address 10.162.131.21: Non-existent host/domain
> *** Default servers are not available
> #
> # nslookup 10.162.131.44 dns3
> Server:  dns3.lab.priceinteractive.com
> Address:  10.162.130.21
> 
> *** dns3.lab.priceinteractive.com can't find 10.162.131.44:
> Non-existent host/domain
> #
> # nslookup bar dns3
> Server:  dns3.lab.priceinteractive.com
> Address:  10.162.130.21
> 
> Name:    bar.lab.priceinteractive.com
> Address:  10.162.130.55
> #
> # nslookup 10.162.130.55
> *** Can't find server name for address 10.162.131.21: Non-existent host/domain
> *** Default servers are not available
> #
> # nslookup 10.162.130.55 dns3
> Server:  dns3.lab.priceinteractive.com
> Address:  10.162.130.21
> 
> Name:    bar.lab.priceinteractive.com
> Address:  10.162.130.10
> 
> === uname ===
> SunOS dns1 5.8 Generic_117350-11 sun4u sparc SUNW,Ultra-60
> 
> === /etc/hosts ===
> 127.0.0.1       localhost
> 10.162.131.21   dns1    loghost
> 10.162.130.21   dns3
> 10.162.131.20   vdns
> 
> === ifconfig ===
> lo0: flags=1000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4> mtu 8232 index 1
>         inet 127.0.0.1 netmask ff000000
> hme0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
>         inet 10.162.131.21 netmask ffffff00 broadcast 10.162.131.255
>         ether 8:0:20:c4:e8:84
> hme0:1: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
>         inet 10.162.131.20 netmask ffffff00 broadcast 10.162.131.255
> qfe0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 3
>         inet 10.162.130.21 netmask ffffff00 broadcast 10.162.130.255
>         ether 8:0:20:c4:e8:84
> 
> === netstat ===
> 10.162.131.21.53           *.*                0      0 24576      0 LISTEN
> 10.162.130.21.53           *.*                0      0 24576      0 LISTEN
> 
> === named.conf ===
> options {
>           directory "/usr/local/domain";
>         };
> 
> logging {
>   channel my_file {
>     file "named_msgs.log" versions 3 size 20m;
>     severity dynamic;
>   };
>   category default { my_file; };
> };
> 
> // Root Name Servers
> zone "."                     { type hint;   file "rootservers"; };
> 
> // Loopback
> zone "0.0.127.IN-ADDR.ARPA"  { type master; file "db.127.0.0"; };
> 
> // Lab Priceinteractive
> zone "lab.priceinteractive.com"  { type master; file "db.lab"; };
> zone "ohe.lab.priceinteractive.com"  { type master; file "db.ohe"; };
> zone "dev.ohe.lab.priceinteractive.com"  { type master; file "db.ohe.dev"; };
> zone "stg.ohe.lab.priceinteractive.com"  { type master; file "db.ohe.stg"; };
> zone "dev.sp.lab.priceinteractive.com"  { type master; file "db.sp.dev"; };
> zone "test.sp.lab.priceinteractive.com"  { type master; file "db.sp.test"; };
> 
> // Reverse lookups for internal (10.x.x.x) networks
> zone "128.162.10.IN-ADDR.ARPA"       { type master; file "db.10.162.128";  };
> zone "130.162.10.IN-ADDR.ARPA"       { type master; file "db.10.162.130";  };
> zone "131.162.10.IN-ADDR.ARPA"       { type master; file "db.10.162.131";  };
> 
> === snoop ===
> ...
> DNS:  ----- DNS Header -----
> DNS:
> DNS:  Response ID = 63063
> DNS:  RA (Recursion Available)
> DNS:  Response Code: 3 (Name Error)
> DNS:  Reply to 1 question(s)
> DNS:      Domain Name: 20.131.162.10.in-addr.arpa.
> DNS:      Class: 1 (Internet)
> DNS:      Type:  12 (Domain Name Pointer)
> DNS:
> DNS:  0 answer(s)
> DNS:  1 name server resource(s)
> DNS:      Domain Name: 10.in-addr.arpa.
> DNS:      Class: 1 (Internet)
> DNS:      Type:  6 (Start Of a zone Authority)
> DNS:      TTL (Time To Live): 9375
> DNS:      Start Of a zone Authority:
> DNS:      MNAME (Server name): prisoner.iana.org.
> DNS:      RNAME (Resposible mailbox): hostmaster.root-servers.org.
> DNS:      SeriDNS:      Refresh: 1800  Retry: 900  Expire: 604800
> Minimum: 604800
> DNS:
> DNS:  0 additional record(s)
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
Received on Tue Apr 5 16:14:31 2005

This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:43:45 EST