diff options
author | Nick <nick@somerandomnick.ano> | 2011-09-25 23:48:34 +0000 |
---|---|---|
committer | Nick <nick@somerandomnick.ano> | 2011-09-25 23:48:34 +0000 |
commit | 565dd951556efdd75bbb57220dab9126b0c1f0ba (patch) | |
tree | 9f41b21430de3af74b7d0791578a27e7ac31ad3f /scripts | |
parent | 6c5c9f6e8c7c6ace9be6c02b2faa2b70ddf0a449 (diff) | |
download | resdb-565dd951556efdd75bbb57220dab9126b0c1f0ba.tar.gz resdb-565dd951556efdd75bbb57220dab9126b0c1f0ba.zip |
bugfix (thx d3v11)
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/nameserver_autogen/tinydns_tld_datafile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/nameserver_autogen/tinydns_tld_datafile b/scripts/nameserver_autogen/tinydns_tld_datafile index a58b6be..016d4f0 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 |