diff options
Diffstat (limited to 'scripts/nameserver_autogen')
-rwxr-xr-x | scripts/nameserver_autogen/tinydns_root_datafile | 11 | ||||
-rwxr-xr-x | scripts/nameserver_autogen/tinydns_tld_datafile | 3 |
2 files changed, 12 insertions, 2 deletions
diff --git a/scripts/nameserver_autogen/tinydns_root_datafile b/scripts/nameserver_autogen/tinydns_root_datafile new file mode 100755 index 0000000..e2c2e1c --- /dev/null +++ b/scripts/nameserver_autogen/tinydns_root_datafile @@ -0,0 +1,11 @@ +#!/bin/sh +rootsrvrname="$(./scripts/conf_var tinydns__rootsrvrname uz5hn5hz5x5bp09p5z2806x4gngcw1k5j2wk88fuvkth5pp2hw4t2d.rootns.somerandomnick.ano)" +rootsrvrip="$(./scripts/conf_var tinydns__rootsrvrip 1.0.27.39)" +tldsrvrname="$(./scripts/conf_var tinydns__tldsrvrname uz5fvb7zdqyuz4q8ysjdfuf04kzd2lrt0l6fp4uyguxdg5tfut06ck.anons.somerandomnick.ano)" +tldsrvrip="$(./scripts/conf_var tinydns__tldsrvrip 1.0.27.37)" +echo "+$rootsrvrname:$rootsrvrip:3600" +echo "+$tldsrvrname:$tldsrvrip:3600" +echo "&.::$rootsrvrname:518400" +echo "&ano.::$tldsrvrname:172800" +echo "&1.in-addr.arpa.::$tldsrvrname:172800" +cat ./doc/srn.ano/root.data 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 |