[plug] Re: Bind Question

Mark B mark at tophits.com.au
Fri Jul 22 21:43:19 WST 2005


----- Original Message -----
From: "Matt Kemner" <zombie at penguincare.com.au>
To: <plug at plug.org.au>
Sent: Friday, July 22, 2005 8:27 PM
Subject: Re: [plug] Re: Bind Question


> On Fri, 22 Jul 2005, quoth Mark B:
>
> >     every zone MUST have a different unique serial number, the serial
number
> > can be anything numerical.  make sure you are not just simply coping the
> > zone file from another zone.
>
> Sorry, but this is incorrect.

sorry, but it is correct.  I just didn't state that if modified and in the
case of having a slave server, increment it, also from what I understood he
was initially setting up the domain so the serial can be anything. What
people usually do is cp local.zone blah.zone and then encounter problems
with serial numbers, and bind usually fails to load up that zone,  could of
possibly solved Joong's issue.

But Joong, if you don't have a secondary Named server, just take out the
serial number completely.  If still having an issue please paste what errors
you were encountering. also look into using named-checkzone

Kind Regards,

Mark B.

>
> The serial number is used by slave DNS servers to figure out if a zone has
> changed.  It is not used to differentiate one zone from another.
>
> Every time you make a change to your zone (on your master DNS server) you
> need to increment the serial number.  The slave servers regularly[0]
> request the serial number from the master, and if they detect it has
> changed they will request a zone transfer to get the up-to-date zone.
>
> General convention is to specify the serial number as the date of the last
> change followed by two numbers - to allow for multiple updates in a single
> day.  Eg. zones changed today would have the serial number of 2005072200
> however there's nothing stopping you from starting at 1 and working your
> way up.
>
> It is perfectly legal to have multiple zones with the same serial number
> (handy when doing mass updates with sed(1) or perl(1)) the only rule is
> that the number must always go up.
>
>  - Matt
>
> [0] You can also specify how often the slave servers check for the serial
>     number, with the number that follows the serial number (Refresh)
>     These days it is more common to use the "NOTIFY" system, where the
>     master server tells the slaves the zone has been updated.
>     They will still check the serial number, so you must make sure to
>     always increment it.
>
>
> _______________________________________________
> PLUG discussion list: plug at plug.org.au
> http://www.plug.org.au/mailman/listinfo/plug
> Committee e-mail: committee at plug.linux.org.au
>
>




More information about the plug mailing list