# HG changeset patch # User d3v11 # Date 1322372820 0 # Node ID 7fd0d1fa0f72b07ca24f7502d627ae6c1e6e58ac # Parent 6c2b94ad798c1e7e16f04ad956a40d37bd93b86e reverted back to www.srw.ano/dns configuration for a.ns.$USER.ano on ./contrib/peer2anonet/peer2anonet --configure-dns. everything else seems to be working aside from --configure-dns. If you look in function CONFIGURE_DNS() you can see the code, if you find working solution let me know. i've had success on my system with the commented lines, but uncommented lines fail for tinydns/root/data. dunno, maybe, sometimes... if you fix it before i do let me know. d3v11@d3v11.ano /relayhell/d3v11 diff -r 6c2b94ad798c -r 7fd0d1fa0f72 contrib/peer2anonet/peer2anonet --- a/contrib/peer2anonet/peer2anonet Sun Nov 27 05:24:07 2011 +0000 +++ b/contrib/peer2anonet/peer2anonet Sun Nov 27 05:47:00 2011 +0000 @@ -392,19 +392,19 @@ tinydns-conf Gtinydns Gdnslog /services/tinydns $TINYDNS_IP ( cd / ; ln -s /services/tinydns /service/tinydns ) - 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 "+a.anons.$NICK.ano:$TINYDNS_ANO_IP:3600" >> /services/tinydns/root/data - echo ".1.in-addr.arpa::a.anons.$NICK.ano" >> /services/tinydns/root/data - echo ".2.in-addr.arpa::a.anons.$NICK.ano" >> /services/tinydns/root/data - echo ".ano::a.anons.$NICK.ano" >> /services/tinydns/root/data - echo ".ntwrk::a.anons.$NICK.ano" >> /services/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 ) + #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 "+a.anons.$NICK.ano:$TINYDNS_ANO_IP:3600" >> /services/tinydns/root/data + #echo ".1.in-addr.arpa::a.anons.$NICK.ano" >> /services/tinydns/root/data + #echo ".2.in-addr.arpa::a.anons.$NICK.ano" >> /services/tinydns/root/data + #echo ".ano::a.anons.$NICK.ano" >> /services/tinydns/root/data + #echo ".ntwrk::a.anons.$NICK.ano" >> /services/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