SOA serial rotation

Mark Andrews Mark_Andrews at isc.org
Wed Nov 30 22:14:11 UTC 2005


> Can anyone provide a current reference showing how to recover from a
> mistakenly high value of the SOA serial number?  I'm sure there used to
> be good web pages about it but I can't find them any more.  The RFC
> describing sequence space numbering doesn't actually give any examples
> of what it's useful for!
> 
> (It's for someone else.  Yes, I could write a description myself but it
> wouldn't be as good as descriptions I remember reading elsewhere.) 
> 
> Sam

	If the current serial is > 4152603749 you can just set it
	to todays date (2005120100).

		(2005120100 - 2147483647) % 4294967295 = 4152603749

	Otherwise set the serial as follows
		new = (current + 2147483647) % 4294967295
	wait for the slaves to catch up then set the serial to todays
	date.

	This presumes the serial is not 2005120101 which requires a
	extra step.

		2147483647 = 2^31-1 (0x7fffffff)
		4294967295 = 2^32-1 (0xffffffff)

	Mark
--
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