change shape for bind configuration; use one unified file, add new options when adding zones
This commit is contained in:
2
bin/sync-master-vhosts
Executable file → Normal file
2
bin/sync-master-vhosts
Executable file → Normal 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");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user