Confused about what $ORIGIN does in relation to @
Mark Andrews
Mark_Andrews at isc.org
Tue Sep 11 23:47:03 UTC 2007
> On Sep 11, 2007, at 4:18 PM, Mark Andrews wrote:
> > $TTL 3600 ; 1 hour
> > @ IN SOA dssns.dss.state.la.us.
> > rmccain.dss.state.la.us. (
> > 2007091103 ; serial
> > 1200 ; refresh (20 minutes)
> > 600 ; retry (10 minutes)
> > 1209600 ; expire (2 weeks)
> > 3600 ; minimum (1 hour)
> > )
> > @ NS dssns.dss.state.la.us.
> > @ NS dssns2.dss.state.la.us.
> > @ A 205.172.49.49
> > @ MX 10 smtp-ext1.dss.state.la.us.
> > @ MX 20 smtp-ext2.dss.state.la.us.
> > acess A 205.172.49.23
> > acess-info A 205.172.49.23
> > acspoc A 205.172.49.9
>
> This could be further simplified by using inherited owner names -
> that is, if a record's first field (the owner name) is left blank, it
> inherits the owner name of the previous record. Also, there's no
> reason to specify a class (IN in this case) anywhere in a zone file -
> it inherits the class from the zone definition, and you're not
> allowed to put multiple classes into a zone file. So the example
> above can be simplified further like so:
I've seen too many operator errors with inheritance. It's
safer to just alway specify the owner.
e.g. " A 1.2.3.4" added to the send of the zone file in
an attempt to add the A record to the zone name.
Mark
> $TTL 3600 ; 1 hour
> @ SOA dssns.dss.state.la.us. rmccain.dss.state.la.us. (
> 2007091103 ; serial
> 1200 ; refresh (20 minutes)
> 600 ; retry (10 minutes)
> 1209600 ; expire (2 weeks)
> 3600 ; minimum (1 hour)
> )
> NS dssns.dss.state.la.us.
> NS dssns2.dss.state.la.us.
> A 205.172.49.49
> MX 10 smtp-ext1.dss.state.la.us.
> MX 20 smtp-ext2.dss.state.la.us.
> acess A 205.172.49.23
> acess-info A 205.172.49.23
> acspoc A 205.172.49.9
>
> Chris Buxton
> Men & Mice
--
Mark Andrews, ISC
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742 INTERNET: Mark_Andrews at isc.org
More information about the bind-users
mailing list