Commit e353d3b6 authored by anarcat's avatar anarcat Committed by anarcat

don't edit the remote host in the template, it breaks unimaginable things

parent 17d064d4
......@@ -19,10 +19,11 @@ if (!empty($server->dns_default_mx)) {
print "@\tIN\tMX\t10\t" . $server->dns_default_mx . "\n";
}
print "@\tIN\tNS\t" . $server->remote_host;
if ($server->remote_host[strlen($server->remote_host)-1] != '.') {
$server->remote_host .= '.';
print '.';
}
print "@\tIN\tNS\t" . $server->remote_host . " ; primary DNS\n";
print " ; primary DNS\n";
if (is_array($server->slave_servers_names)) {
foreach ($server->slave_servers_names as $slave) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment