Help with ISC bind and reverse lookup for private addresses

Jerry Brown brownjh at email.uah.edu
Tue Aug 24 05:01:29 UTC 2004


Please Help!

	Our primary DNS server is a sparc-station 9 and our secondary is a Tru64
machine, both running BIND 8.3.4. Our domain is 146.229.0.0  We have just
received request to support a vlan with private addresses(10.0.*.*) within
our domain. We are having difficulty making this work, especially reverse
mapping for the private addresses.

Here is what we have tried:

Added the following to our named.conf:
zone "guest.uah.edu" {
        type master;
        file "guest.hosts";
};

zone "0.10.in-addr.arpa" {
        type master;
        file "guest.rev";
};

;       Host file for guest.uah.edu
@       IN      SOA     uahis1.uah.edu. root.uahis1.uah.edu. (
                                04082309 ; Serial
                                3600    ; Refresh
                                1200     ; Retry
                                1209600 ; Expire
                                14400 )  ; Minimum
        IN      NS      uahis1.uah.edu.
        IN      NS      email.uah.edu.
        IN      NS      spunky.uah.edu.
guest   IN      A       10.0.204.16
gateway IN      A       10.0.207.254
;

;       REV file for guest.uah.edu
;       Address to hostname mappings.
;
@       IN      SOA     uahis1.uah.edu. root.uahis1.uah.edu. (
                                04082309; Serial
                                3600    ; Refresh
                                1200     ; Retry
                                1209600 ; Expire
                                14400 )  ; Minimum
        IN      NS      uahis1.uah.edu.
2.1     IN      PTR     uahis1.uah.edu.
16.204.0.10     IN      PTR     guest.uah.edu.
254.207.0.10    IN      PTR     gateway.uah.edu.
;
--------

Output from reloading zone files:
Aug 23 22:45:50 uahis1 named[3253]: [ID 295310 daemon.notice] reloading
nameserver
Zone "uah.edu" (file uah.hosts): No default TTL ($TTL <value>) set, using
SOA minimum instead
master zone "uah.edu" (IN) loaded (serial 4082307)
Zone "229.146.in-addr.arpa" (file uah.rev): No default TTL ($TTL <value>)
set, using SOA minimum instead
master zone "229.146.in-addr.arpa" (IN) loaded (serial 4082307)
Zone "guest.uah.edu" (file guest.hosts): No default TTL ($TTL <value>) set,
using SOA minimum instead
master zone "guest.uah.edu" (IN) loaded (serial 4082309)
Zone "0.10.in-addr.arpa" (file guest.rev): No default TTL ($TTL <value>)
set, using SOA minimum instead
master zone "0.10.in-addr.arpa" (IN) loaded (serial 4082309)

----------

Here's what happens when we try to resolve entries from the primary(uahis1).

bash-2.05# nslookup
Default Server:  email.uah.edu
Address:  146.229.1.200

> server uahis1
Default Server:  uahis1.uah.edu
Address:  146.229.1.2

> guest
Server:  uahis1.uah.edu
Address:  146.229.1.2

*** No address (A) records available for guest

bash-2.05# nslookup gateway.guest
Server:  email.uah.edu
Address:  146.229.1.200

Non-authoritative answer:
Name:    gateway.guest.uah.edu
Address:  10.0.207.254


> 10.0.207.254
Server:  uahis1.uah.edu
Address:  146.229.1.2

*** uahis1.uah.edu can't find 10.0.207.254: Non-existent host/domain
>

Any help would be greatly appreciated!

Thanks in Advance.
Jerry.

Jerry Brown
brownjh at email.uah.edu
256-824-2627



More information about the bind-users mailing list