Mercurial > hg > anonet-resdb
annotate scripts/nameserver_autogen/tinydns_root_datafile @ 1260:f5ad11b817f1 draft default tip master
switched to using the git subdomain for git repo url
author | epoch <epoch@hack.thebackupbox.net> |
---|---|
date | Sat, 09 Oct 2021 09:21:28 +0000 |
parents | fd1945470e54 |
children |
rev | line source |
---|---|
622
fd1945470e54
added nameserver_autogen for root nameserver
Nick <nick@somerandomnick.ano>
parents:
diff
changeset
|
1 #!/bin/sh |
fd1945470e54
added nameserver_autogen for root nameserver
Nick <nick@somerandomnick.ano>
parents:
diff
changeset
|
2 rootsrvrname="$(./scripts/conf_var tinydns__rootsrvrname uz5hn5hz5x5bp09p5z2806x4gngcw1k5j2wk88fuvkth5pp2hw4t2d.rootns.somerandomnick.ano)" |
fd1945470e54
added nameserver_autogen for root nameserver
Nick <nick@somerandomnick.ano>
parents:
diff
changeset
|
3 rootsrvrip="$(./scripts/conf_var tinydns__rootsrvrip 1.0.27.39)" |
fd1945470e54
added nameserver_autogen for root nameserver
Nick <nick@somerandomnick.ano>
parents:
diff
changeset
|
4 tldsrvrname="$(./scripts/conf_var tinydns__tldsrvrname uz5fvb7zdqyuz4q8ysjdfuf04kzd2lrt0l6fp4uyguxdg5tfut06ck.anons.somerandomnick.ano)" |
fd1945470e54
added nameserver_autogen for root nameserver
Nick <nick@somerandomnick.ano>
parents:
diff
changeset
|
5 tldsrvrip="$(./scripts/conf_var tinydns__tldsrvrip 1.0.27.37)" |
fd1945470e54
added nameserver_autogen for root nameserver
Nick <nick@somerandomnick.ano>
parents:
diff
changeset
|
6 echo "+$rootsrvrname:$rootsrvrip:3600" |
fd1945470e54
added nameserver_autogen for root nameserver
Nick <nick@somerandomnick.ano>
parents:
diff
changeset
|
7 echo "+$tldsrvrname:$tldsrvrip:3600" |
fd1945470e54
added nameserver_autogen for root nameserver
Nick <nick@somerandomnick.ano>
parents:
diff
changeset
|
8 echo "&.::$rootsrvrname:518400" |
fd1945470e54
added nameserver_autogen for root nameserver
Nick <nick@somerandomnick.ano>
parents:
diff
changeset
|
9 echo "&ano.::$tldsrvrname:172800" |
fd1945470e54
added nameserver_autogen for root nameserver
Nick <nick@somerandomnick.ano>
parents:
diff
changeset
|
10 echo "&1.in-addr.arpa.::$tldsrvrname:172800" |
fd1945470e54
added nameserver_autogen for root nameserver
Nick <nick@somerandomnick.ano>
parents:
diff
changeset
|
11 cat ./doc/srn.ano/root.data |