repo: resdb action: commit revision: path_from: revision_from: 267867f11141cd9a7d1293f95b8967271e99fabf: path_to: revision_to:
commit 267867f11141cd9a7d1293f95b8967271e99fabf Author: lexDate: Mon Jan 10 17:25:44 2011 -0600 Fixed the bind generator to qualify full domain names properly in the generated zonefile diff --git a/scripts/nameserver_autogen/bind_tld_zonefile b/scripts/nameserver_autogen/bind_tld_zonefile
--- a/scripts/nameserver_autogen/bind_tld_zonefile
+++ b/scripts/nameserver_autogen/bind_tld_zonefile
@@ -11,6 +11,7 @@ foreach ($names as $name) {
print($name.' IN NS '.$server."\n");
$ips = file($name.'/ns/'.$server, FILE_IGNORE_NEW_LINES |
FILE_SKIP_EMPTY_LINES);
+ if (substr($server, -4, 4) == ".ano") $server .= ".";
foreach ($ips as $ip) {
print($server.' IN A '.$ip."\n");
}
-----END OF PAGE-----