do an rndc reload after during cleanup
This commit is contained in:
3
DDNS.pm
3
DDNS.pm
@ -96,7 +96,7 @@ sub _gethosts {
|
||||
}
|
||||
|
||||
my $fh;
|
||||
open($fh, "dig -t AXFR \@mister-dns.martnet.com private.invalid. |")
|
||||
open($fh, "dig -t AXFR \@127.0.0.1 private.invalid. |")
|
||||
|| die "Can't open dig: $!";
|
||||
|
||||
my @vh;
|
||||
@ -150,6 +150,7 @@ sub cleanup {
|
||||
my ($this) = @_;
|
||||
# Merge the .jnl file in with the domain file
|
||||
system("rndc sync -clean private.invalid");
|
||||
system("rndc reload");
|
||||
}
|
||||
|
||||
1;
|
||||
|
||||
Reference in New Issue
Block a user