reverse dns in bind9

Jon Radel jon at radel.com
Mon Mar 28 12:26:56 UTC 2011


On 3/28/11 7:21 AM, Tim Dunphy wrote:
>
> Hello,
>
>   Thanks for your reply!
>
>    I took your advice and removed that line from resolv.conf and added
> it into /etc/named/named.conf
>
>    Now it looks like this
>
>    // RFC 1912
> zone "localhost"        { type master; file "master/localhost-forward.db"; };
> zone "127.in-addr.arpa" { type master; file "master/localhost-reverse.db"; };
> zone "255.in-addr.arpa" { type master; file "master/empty.db"; };
> zone "192.in-addr.arpa" { type master; file "master/summitjnhome-reverse.db"; };
>
>   And I did a restart of both network and named but the issue remains:
>
>
> LBSD2# host 192.168.1.44
> Host 44.1.168.192.in-addr.arpa. not found: 3(NXDOMAIN)
>
>

Nowhere do you mention that you moved all the PTR records into the 
192.in-addr.arpa zone where they belong, as noted by Robert Bonomi.  And 
why did you change

 > zone "1.168.192.in-addr.arpa" { type master; file
 > >> "/etc/named/master/summitnjhome-reverse.db"
 > >> };
 >

to

zone "192.in-addr.arpa" { type master; file 
"master/summitjnhome-reverse.db"; };

when your PTR lines only give the last octet?  Where do you expect the 
"168.1" to come from?

--Jon Radel
jon at radel.com




More information about the freebsd-questions mailing list