bind8-> name 2 addr works but not reverse ...

Brian Salomaki brian at gambitdesign.com
Wed Oct 17 20:42:07 UTC 2001


On Wednesday 17 October 2001 01:26 pm, Adrian Immler wrote:

> zone "168.192.in-addr.arpa" IN {
>   type master;
>   file "db.192.168";
> }

> --------------------------------
>
> my db.192.168 looks like this:
>
> 168.192.in-addr.arpa. IN SOA boss.adi. root.boss.adi. (
> 1
> 3600
> 900
> 3600000
> 3600
> )
>
> 3.0.168.192.in-addr.arpa IN PTR boss.adi.
> ...... several other hosts, none working
> -------------------------------

BIND uses the domain specified in named.conf as the default origin for zones 
in the file.  So, essentially what you've specified a record for is:
3.0.168.192.in-addr.arpa.168.192.in-addr.arpa.
Not what you want...  Either just use 3.0 in the zone file, or specify an 
explicit root origin at the top of the zone file, like:
$ORIGIN .
-- 
Brian Salomaki
Gambit Design Internet Services
110 E. State St., Suite 18, Kennett Square, PA 19348
DNSbox: http://gambitdesign.com


More information about the bind-users mailing list