diff --git a/DDNS.pm b/DDNS.pm index b4b55e9..7d7c5b8 100644 --- a/DDNS.pm +++ b/DDNS.pm @@ -150,7 +150,8 @@ sub cleanup { my ($this) = @_; # Merge the .jnl file in with the domain file system("rndc sync -clean private.invalid"); - system("rndc reload"); + # Rebuild and reload the master vhosts files + system("/usr/local/bin/sync-master-vhosts"); } 1; diff --git a/sync-master-vhosts.cron b/sync-master-vhosts.cron deleted file mode 100644 index bb4224c..0000000 --- a/sync-master-vhosts.cron +++ /dev/null @@ -1,2 +0,0 @@ -MAILTO=jorj@jorj.org -* * * * * root /usr/local/bin/sync-master-vhosts