# HG changeset patch # User d3v11 # Date 1322334256 0 # Node ID 49208db8c8f2ce62b0d40a77cff8b8cb432e990f # Parent 7746032f869818b144f1c58e10b7c5cdaa926839 updated peer2anonet diff -r 7746032f8698 -r 49208db8c8f2 contrib/peer2anonet/peer2anonet --- a/contrib/peer2anonet/peer2anonet Sat Nov 26 09:17:54 2011 +0000 +++ b/contrib/peer2anonet/peer2anonet Sat Nov 26 19:04:16 2011 +0000 @@ -369,10 +369,19 @@ tinydns-conf Gtinydns Gdnslog /services/tinydns $TINYDNS_IP ( cd / ; ln -s /services/tinydns /service/tinydns ) - ( cd /service/tinydns/root ; ./add-ns $TINYDNS_DOMAIN $TINYDNS_IP ) - ( cd /service/tinydns/root ; ./add-alias $GIT_DOMAIN $GIT_IP ) - ( cd /service/tinydns/root ; ./add-alias $TINYDNS_ANO_IP $TINYDNS_ROOT_IP ) - ( cd /service/tinydns/root ; ./add-alias $TINYDNS_ANO_DOMAIN $TINYDNS_ANO_IP ) + echo ".$NICK.ano:$TINYDNS_IP:a:259200" > /service/tinydns/root/data + echo "=www.$NICK.ano:$GIT_IP:86400" >> /service/tinydns/root/data + echo "+git.$NICK.ano:$GIT_IP:86400" >> /service/tinydns/root/data + echo "+$NICK.ano:$GIT_IP:86400" >> /service/tinydns/root/data + echo "+a.anons.$NICK.ano:$TINYDNS_ANO_IP:3600" >> /service/tinydns/root/data + echo ".1.in-addr.arpa::a.anons.$NICK.ano" >> /service/tinydns/root/data + echo ".2.in-addr.arpa::a.anons.$NICK.ano" >> /service/tinydns/root/data + echo ".ano::a.anons.$NICK.ano" >> /service/tinydns/root/data + echo ".ntwrk::a.anons.$NICK.ano" >> /service/tinydns/root/data + #( cd /service/tinydns/root ; ./add-ns $TINYDNS_DOMAIN $TINYDNS_IP ) + #( cd /service/tinydns/root ; ./add-alias $GIT_DOMAIN $GIT_IP ) + #( cd /service/tinydns/root ; ./add-alias $TINYDNS_ANO_IP $TINYDNS_ROOT_IP ) + #( cd /service/tinydns/root ; ./add-alias $TINYDNS_ANO_DOMAIN $TINYDNS_ANO_IP ) ( cd /service/tinydns/root ; make ) tinydns-conf Gtinydns Gdnslog /services/tinydns-root $TINYDNS_ROOT_IP