Re: zone reload questions

2009-03-20 Thread Ralf Peng
2009/3/21 Mark Andrews : > >        Named records modification times of masterfiles and only >        reloads those that are *newer* than the recorded modification >        time. > Thanks. That help me understand for the case. ___ bind-users mailing list

Re: zone reload questions

2009-03-20 Thread Mark Andrews
Named records modification times of masterfiles and only reloads those that are *newer* than the recorded modification time. Changing the zone content without updating the serial will also cause problems for slaves. Mark -- Mark Andrews, ISC 1 S

Re: zone reload questions

2009-03-20 Thread Matus UHLAR - fantomas
On 20.03.09 16:23, Ralf Peng wrote: > Hmm! I was just thinking this is a BUG! > > I wrote a function in Perl to modify the serial number: > > sub increase_serial { [...] > } > > > I do below to execute the reload: > > increase_serial(); > system("/usr/local/bind/sbin/rndc reload"); wh

Re: zone reload questions

2009-03-20 Thread Ralf Peng
Hmm! I was just thinking this is a BUG! I wrote a function in Perl to modify the serial number: sub increase_serial { my $bindetc = "/usr/local/bind/etc/"; my @zones = get_zones(); # get the zones for my $zone (@zones) { for my $isp ('tel','cnc') { # two isp links