change shape for bind configuration; use one unified file, add new options when adding zones

This commit is contained in:
2026-01-24 12:15:15 -05:00
parent f2b2ba25f0
commit ff83f9c5de
16 changed files with 167 additions and 81 deletions

2
bin/sync-master-vhosts Executable file → Normal file
View File

@@ -52,7 +52,7 @@ if ($changecount) {
}
close $fh;
print "Installing new vhost list\n";
system("install -o bind -g bind $path /var/lib/bind/vhost.zones.9");
system("install -o bind -g bind $path /var/lib/bind/unified.zones.9");
print "Reloading DNS files\n";
system("/usr/sbin/rndc reload");
}