diff options
Diffstat (limited to 'scripts/nameserver_autogen/tinydns_tld_datafile')
-rwxr-xr-x | scripts/nameserver_autogen/tinydns_tld_datafile | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/scripts/nameserver_autogen/tinydns_tld_datafile b/scripts/nameserver_autogen/tinydns_tld_datafile index a58b6be..5896aa2 100755 --- a/scripts/nameserver_autogen/tinydns_tld_datafile +++ b/scripts/nameserver_autogen/tinydns_tld_datafile @@ -4,11 +4,11 @@ if ! ./scripts/check_db_safety; then fi tldsrvrname="$(./scripts/conf_var tinydns__tldsrvrname uz5fvb7zdqyuz4q8ysjdfuf04kzd2lrt0l6fp4uyguxdg5tfut06ck.anons.somerandomnick.ano)" tldsrvrip="$(./scripts/conf_var tinydns__tldsrvrip 1.0.27.37)" +echo "+$tldsrvrname:$tldsrvrip:3600" for tld in db/ip/?? ; do if [ "x$(basename $tld)" != 'x??' ]; then first="$(basename $tld | ./scripts/hex2dec)" tldname="$first.in-addr.arpa" - echo "+$tldsrvrname:$tldsrvrip:3600" echo ".$tldname::$tldsrvrname" for ip in $tld/??/?? ; do if [ "x$(basename $ip)" != 'x??' ]; then @@ -29,7 +29,6 @@ for tld in db/ip/?? ; do done for tld in db/dom/* ; do tldname="$(basename $tld)" - echo "+$tldsrvrname:$tldsrvrip:3600" echo ".$tldname::$tldsrvrname" for zone in $tld/* ; do for ns in $zone/ns/* ; do |