summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authord3v11 <d3v11@d3v11.ano>2011-11-29 05:23:06 +0000
committerd3v11 <d3v11@d3v11.ano>2011-11-29 05:23:06 +0000
commit9cbe7933d2a9124e21308fddb587d3ab2f4a7e7b (patch)
tree10b51f5ef974f2b50d8282d4717b026883e4d86d
parent803c9b7614373632ee0ac4f219717e4ddc9fedf2 (diff)
downloadresdb-9cbe7933d2a9124e21308fddb587d3ab2f4a7e7b.tar.gz
resdb-9cbe7933d2a9124e21308fddb587d3ab2f4a7e7b.zip
updated peer2anonet
-rwxr-xr-xcontrib/peer2anonet/peer2anonet9
1 files changed, 2 insertions, 7 deletions
diff --git a/contrib/peer2anonet/peer2anonet b/contrib/peer2anonet/peer2anonet
index d6214cb..10a14ff 100755
--- a/contrib/peer2anonet/peer2anonet
+++ b/contrib/peer2anonet/peer2anonet
@@ -396,8 +396,8 @@ CONFIGURE_DNS(){
TINYDNS_ROOT_DOMAIN=`cat conf/tinydns__rootsrvrname`
TINYDNS_ANO_IP=`cat conf/tinydns__tldsrvrip`
TINYDNS_ANO_DOMAIN=`cat conf/tinydns__tldsrvrname`
- TINYDNS_IP=`cat db/dom/ano/$NICK/ns/$(ls db/dom/ano/$NICK/ns)`
- TINYDNS_DOMAIN=`ls db/dom/ano/$NICK/ns`
+ TINYDNS_IP=`cat conf/tinydns__srvrip`
+ TINYDNS_DOMAIN=`cat conf/tinydns__srvrname`
GIT_IP=`cat conf/gitd_ip`
GIT_DOMAIN="git.$NICK.ano"
@@ -439,11 +439,6 @@ CONFIGURE_DNS(){
#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
./add-ns $NICK.ano $TINYDNS_IP