How to fix wrong dns serial number?
Did it ever happen to you by mistake to add one additional digit into dns serial number? Ooops! Now, how to fix it?
- Increase the serial number to (2^31) – (correct serial number) and reload named. For example 2^31-2009010602 = 138473046. As DNS serial numbers are signed integers, this make server thinks that it’s a negative number.
- Set the serial number to 0 and reload.
- Set the correct serial number and reload.
- Voila!
Comments
Comment from Scott Dodson
Date: January 6, 2009, 21:44
Clever trick! Thanks.
Pingback from Pages tagged “wrong”
Date: January 8, 2009, 10:48
[...] bookmarks tagged wrong Marek Mahut » How to fix wrong dns serial number? saved by 1 others samanthalortiz bookmarked on 01/08/09 | [...]

Write a comment