diff options
author | d3v11 <d3v11@d3v11.ano> | 2011-11-27 07:25:09 +0000 |
---|---|---|
committer | d3v11 <d3v11@d3v11.ano> | 2011-11-27 07:25:09 +0000 |
commit | 4c6208f1bcdec52da40edeff6d1ef52d15d48dbf (patch) | |
tree | 9025a0b6b6da14a5ff017f59b846345938288320 /contrib | |
parent | 6be939956eba532960b9a227281bfda091ef9eec (diff) | |
download | resdb-4c6208f1bcdec52da40edeff6d1ef52d15d48dbf.tar.gz resdb-4c6208f1bcdec52da40edeff6d1ef52d15d48dbf.zip |
update test for --configure-dns
Diffstat (limited to 'contrib')
-rwxr-xr-x | contrib/peer2anonet/peer2anonet | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/contrib/peer2anonet/peer2anonet b/contrib/peer2anonet/peer2anonet index 9a2eab2..015b5e8 100755 --- a/contrib/peer2anonet/peer2anonet +++ b/contrib/peer2anonet/peer2anonet @@ -391,21 +391,21 @@ CONFIGURE_DNS(){ ( cd / ; ln -s /services/dnscache /service/dnscache ) 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 "+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 /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 / ; 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 ) - ( cd /service/tinydns/root ; make ) tinydns-conf Gtinydns Gdnslog /services/tinydns-root $TINYDNS_ROOT_IP ( cd / ; ln -s /services/tinydns-root /service/tinydns-root ) |