Mercurial > hg > anonet-resdb
comparison scripts/nameserver_autogen/tinydns_tld_datafile @ 122:fa0053d4cb53 draft
Added atomictorrent repo, and added multirepo support for pragmo:
now inside /db/usr/pragmo there is th repos dir which contains one dir
for each pragmo's repo. resdb2 is the classic resdb (rebooted ;)), while
atomictorrent is a new repo containing torrents.
author | pragmo <pragmo@pragmo.ano> |
---|---|
date | Tue, 24 Aug 2010 07:21:06 +0000 |
parents | 9a0e9ee425cc |
children | 18ac7e165dde |
comparison
equal
deleted
inserted
replaced
120:a9abf4c28d89 | 122:fa0053d4cb53 |
---|---|
1 #!/bin/sh | 1 #!/bin/sh |
2 if ! ./scripts/check_db_safety; then | 2 if ! ./scripts/check_db_safety; then |
3 exit 1 | 3 exit 1 |
4 fi | 4 fi |
5 tldsrvrname="$(./scripts/conf_var tinydns__tldsrvrname uz5fvb7zdqyuz4q8ysjdfuf04kzd2lrt0l6fp4uyguxdg5tfut06ck.anons.somerandomnick.ano)" | 5 tldsrvrname="$(./scripts/conf_var tinydns__tldsrvrname b30a3fc880c970d4b4f945dd82af4de2.ns.pragmo.ano)" |
6 tldsrvrip="$(./scripts/conf_var tinydns__tldsrvrip 1.0.27.37)" | 6 tldsrvrip="$(./scripts/conf_var tinydns__tldsrvrip 1.0.16.100)" |
7 for tld in db/ip/?? ; do | 7 for tld in db/ip/?? ; do |
8 if [ "x$(basename $tld)" != 'x??' ]; then | 8 if [ "x$(basename $tld)" != 'x??' ]; then |
9 first="$(basename $tld | ./scripts/hex2dec)" | 9 first="$(basename $tld | ./scripts/hex2dec)" |
10 tldname="$first.in-addr.arpa" | 10 tldname="$first.in-addr.arpa" |
11 echo "+$tldsrvrname:$tldsrvrip:3600" | 11 echo "+$tldsrvrname:$tldsrvrip:3600" |