Each and every zone file has a unique serial number and that serial number should increment with each subsequent revision
A serial number is traditionally in the format (YYYYMMDDSS) where SS the sequence number. For example, today is 1/21/2011, so the serial number in a zone file modfied today would be… 201101210.
So lets say that you pushed that zone today and when you went back to make an additional change, you accidentally added an additional number to your serials and instead of 201101211 you ended up with 2201101211.
In order to get everything back in order you will need to manually reset the zone file's serial number by setting it to the number below. Its highest number you can get using 32 bits.
To to reset your serial number, update your zone file with the serial number listed above and push it out to the slaves. Then change your zone files serial number back to the correctserial number, which will be considered to be greater than the magic number above. Then push dns again.
Check your slave servers and verify the the zone file now has the correct serial.
3 thoughts on “Bind – Zone File Serial Number Reset”
You can also add to your current serial ((2 ^ 31) – 1) or 2147483647. It has the same effekt.
does not work on solaris x86_64
so youre saying we should use the serial 4294967295 as a default so we never forget to update it
and be done with it xD