I need to manage multiple domains

Ryan McCain Ryan.McCain at dss.state.la.us
Wed Nov 22 16:59:13 UTC 2006


Does the same hold true for reverse lookup files?

Currently, mine are in this format:


$ORIGIN .
$TTL 3600       ; 1 hour
118.10.in-addr.arpa     IN SOA  nameserver.domain1.com.
admin.domain1.com. (
                                18         ; serial
                                900        ; refresh (15 minutes)
                                600        ; retry (10 minutes)
                                86400      ; expire (1 day)
                                3600       ; minimum (1 hour)
                                )
                        NS      nameserver.domain.com.
$ORIGIN 118.10.in-addr.arpa.
239.37                  PTR     server1.domain.com
239.39                  PTR     server2.domain.com
239.7                   PTR      server3.domain.com
..
..

Would I need to change it to?

$ORIGIN .
$TTL 3600       ; 1 hour
118.10.in-addr.arpa     IN SOA  nameserver  admin. (
                                18         ; serial
                                900        ; refresh (15 minutes)
                                600        ; retry (10 minutes)
                                86400      ; expire (1 day)
                                3600       ; minimum (1 hour)
                                )
                        NS      nameserver.
$ORIGIN 118.10.in-addr.arpa.
239.37                  PTR     server1.
239.39                  PTR     server2.
239.7                   PTR      server3.
..
..

Thanks...



>>> On Tue, Nov 21, 2006 at 10:01 AM, in message
<Prayer.1.0.18.0611211601250.15590 at hermes-1.csi.cam.ac.uk>, Chris
Thompson
<cet1 at hermes.cam.ac.uk> wrote: 
> On Nov 20 2006, John Wobus wrote:
> [...]
>>In a zone file, BIND lets you use the at sign (@) to refer to the
zone 
>>to which named.conf assigns the zone file.  Using it, zone files can
be
>>created that do not include their own zone name.
> 
> More accurately, @ refers to the current origin, and zone files are 
> interpreted with the origin initially set to the zone name. So if
you
> want to use @ to refer to the zone name, do not use a $ORIGIN
directive
> earlier in the zone file.



More information about the bind-users mailing list