do an rndc reload after during cleanup

This commit is contained in:
2016-02-23 16:23:56 -05:00
parent 52aaf4def4
commit 19b5021bf2

View File

@ -96,7 +96,7 @@ sub _gethosts {
} }
my $fh; 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: $!"; || die "Can't open dig: $!";
my @vh; my @vh;
@ -150,6 +150,7 @@ sub cleanup {
my ($this) = @_; my ($this) = @_;
# Merge the .jnl file in with the domain file # Merge the .jnl file in with the domain file
system("rndc sync -clean private.invalid"); system("rndc sync -clean private.invalid");
system("rndc reload");
} }
1; 1;