summaryrefslogtreecommitdiff
path: root/scripts/nameserver_autogen
diff options
context:
space:
mode:
authorNick <nick@somerandomnick.ano>2011-09-26 16:30:17 +0000
committerNick <nick@somerandomnick.ano>2011-09-26 16:30:17 +0000
commit991b826386541721b715b10cd562e55957b026fb (patch)
treef26a9771cd204de9764c63c564e96723c2a9dbc6 /scripts/nameserver_autogen
parentba85e938b1cfe76af370e91728fc0812f539cfb7 (diff)
downloadresdb-991b826386541721b715b10cd562e55957b026fb.tar.gz
resdb-991b826386541721b715b10cd562e55957b026fb.zip
added nameserver_autogen for root nameserver
Diffstat (limited to 'scripts/nameserver_autogen')
-rwxr-xr-xscripts/nameserver_autogen/tinydns_root_datafile11
1 files changed, 11 insertions, 0 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