diff options
author | Nick <nick@somerandomnick.ano> | 2011-11-29 04:13:54 +0000 |
---|---|---|
committer | Nick <nick@somerandomnick.ano> | 2011-11-29 04:13:54 +0000 |
commit | 803c9b7614373632ee0ac4f219717e4ddc9fedf2 (patch) | |
tree | e0fcbef4d5713257ea6062285c6ccfe0af130bb6 | |
parent | 59fa63a877b667c7f13c83de48c18d46d3ae3ad1 (diff) | |
download | resdb-803c9b7614373632ee0ac4f219717e4ddc9fedf2.tar.gz resdb-803c9b7614373632ee0ac4f219717e4ddc9fedf2.zip |
bugfixes
-rwxr-xr-x | contrib/peer2anonet/peer2anonet | 28 |
1 files changed, 18 insertions, 10 deletions
diff --git a/contrib/peer2anonet/peer2anonet b/contrib/peer2anonet/peer2anonet index 7fdc78e..d6214cb 100755 --- a/contrib/peer2anonet/peer2anonet +++ b/contrib/peer2anonet/peer2anonet @@ -430,20 +430,28 @@ CONFIGURE_DNS(){ tinydns-conf Gtinydns Gdnslog /services/tinydns $TINYDNS_IP - echo ".$NICK.ano:$TINYDNS_IP:a:259200" > /services/tinydns/root/data - echo "=www.$NICK.ano:$GIT_IP:86400" >> /services/tinydns/root/data - echo "+git.$NICK.ano:$GIT_IP:86400" >> /services/tinydns/root/data - echo "+$NICK.ano:$GIT_IP:86400" >> /services/tinydns/root/data - echo "+$TINYDNS_ANO_DOMAIN:$TINYDNS_ANO_IP:3600" >> /services/tinydns/root/data - echo ".1.in-addr.arpa::$TINYDNS_ANO_DOMAIN" >> /services/tinydns/root/data - echo ".2.in-addr.arpa::$TINYDNS_ANO_DOMAIN" >> /services/tinydns/root/data - echo ".ano::$TINYDNS_ANO_DOMAIN" >> /services/tinydns/root/data - echo ".ntwrk::$TINYDNS_ANO_DOMAIN" >> /services/tinydns/root/data + #echo ".$NICK.ano:$TINYDNS_IP:a:259200" > /services/tinydns/root/data + #echo "=www.$NICK.ano:$GIT_IP:86400" >> /services/tinydns/root/data + #echo "+git.$NICK.ano:$GIT_IP:86400" >> /services/tinydns/root/data + #echo "+$NICK.ano:$GIT_IP:86400" >> /services/tinydns/root/data + #echo "+$TINYDNS_ANO_DOMAIN:$TINYDNS_ANO_IP:3600" >> /services/tinydns/root/data + #echo ".1.in-addr.arpa::$TINYDNS_ANO_DOMAIN" >> /services/tinydns/root/data + #echo ".2.in-addr.arpa::$TINYDNS_ANO_DOMAIN" >> /services/tinydns/root/data + #echo ".ano::$TINYDNS_ANO_DOMAIN" >> /services/tinydns/root/data + #echo ".ntwrk::$TINYDNS_ANO_DOMAIN" >> /services/tinydns/root/data #( cd /services/tinydns/root ; ./add-ns $TINYDNS_DOMAIN $TINYDNS_IP ) #( cd /services/tinydns/root ; ./add-alias $GIT_DOMAIN $GIT_IP ) #( cd /services/tinydns/root ; ./add-alias $TINYDNS_ANO_IP $TINYDNS_ROOT_IP ) #( cd /services/tinydns/root ; ./add-alias $TINYDNS_ANO_DOMAIN $TINYDNS_ANO_IP ) - ( cd /services/tinydns/root ; make ) + #( cd /services/tinydns/root ; make ) + ( + cd /services/tinydns/root + ./add-ns $NICK.ano $TINYDNS_IP + ./add-alias $GIT_DOMAIN $GIT_IP + ./add-alias $TINYDNS_ROOT_DOMAIN $TINYDNS_ROOT_IP + ./add-alias $TINYDNS_ANO_DOMAIN $TINYDNS_ANO_IP + make + ) tinydns-conf Gtinydns Gdnslog /services/tinydns-root $TINYDNS_ROOT_IP ./scripts/nameserver_autogen/tinydns_root_datafile > /services/tinydns-root/root/data |