changeset 801:4fb17fd5b4b0 draft

updated peer2anonet
author d3v11 <d3v11@d3v11.ano>
date Tue, 29 Nov 2011 05:23:06 +0000
parents 757bfc2e4427
children a46585dc13d0 3761c3e87765
files contrib/peer2anonet/peer2anonet
diffstat 1 files changed, 2 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/contrib/peer2anonet/peer2anonet	Tue Nov 29 04:13:54 2011 +0000
+++ b/contrib/peer2anonet/peer2anonet	Tue Nov 29 05:23:06 2011 +0000
@@ -396,8 +396,8 @@
     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 @@
     #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