How to reset the serial number?
cet1 at cam.ac.uk
Tue Mar 27 15:20:12 UTC 2012
On Mar 27 2012, WBrown at e1b.org wrote:
>Chuck Swiger wrote on 03/26/2012 02:35:24 PM:
>> Shut down the slave server(s).
>> Use scp or rsync to copy over the zone file, one with a corrected serial
>> Restart the slave server(s).
>If I have access to the slave, I just deleted slave zone and issue "rndc
>reload". It will transfer the missing zone.
Assuming you mean "delete the slave zone *file*", this doesn't actually
work (unless you restart BIND as well). Tested with 9.8.2rc2, but it
seemed innately unlikely. Why would BIND on the slave ever look at the
file contents except on startup?
Or did you mean something like (1) remove the zone from the slave's
configuration and "rndc reconfig" (reload is overkill) (2) delete the
slave zone file (3) add the zone to the slave's configuration again
and "rndc reconfig" ?
That would work, but "rndc retransfer [zone]" is a lot simpler!
Email: cet1 at cam.ac.uk
More information about the bind-users