Help with ISC bind and reverse lookup for private addresses

Ladislav Vobr lvobr at ies.etisalat.ae
Tue Aug 24 05:38:53 UTC 2004


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

since your zone name is 0.10.in-addr.arpa, the last two lines should be

254.207 	IN	PTR	guest.uah.edu.
16.204		IN	PTR	gateway.uah.edu.

then the fqdn will be 254.207.0.10.in-addr.arpa which is reverse for 
10.0.207.254

also the forward zone in named.conf should be only uah.edu

zone "uah.edu" {
         type master;
         file "guest.hosts";
};

since guest and gateway seems to me to be hosts in uah.edu domain, 
correct ? It is not clear to me from your setup.

Ladislav





More information about the bind-users mailing list