view scripts/nameserver_autogen/tinydns_root_datafile @ 1120:8e01b8361e9e draft

changed add_dom to not even bother with anything head -c -1 related. should still work. added a comment at the top of dec2hex to suggest a shorter version that should work. added a script for generating zonefiles for bind
author epoch <epoch@hacking.allowed.org>
date Mon, 27 May 2013 05:16:01 +0000
parents fd1945470e54
children
line wrap: on
line source

#!/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