repo: resdb
action: commit
revision: 
path_from: 
revision_from: 0f221e9b06d668695c6ec75e6f722398eab68d8f:
path_to: 
revision_to: 
git.thebackupbox.net
resdb
git clone git://git.thebackupbox.net/resdb
commit 0f221e9b06d668695c6ec75e6f722398eab68d8f
Author: d3v11 
Date:   Sun Jan 15 23:05:12 2012 +0000

    added automatic addition of nameservers to resdb

diff --git a/contrib/peer2anonet/peer2anonet b/contrib/peer2anonet/peer2anonet
index f8b9de2e96c16372d4689065f3f36cb30080494c..
index ..c7a34781881ff88f0a40da3e05d43bfe33fbf56c 100755
--- a/contrib/peer2anonet/peer2anonet
+++ b/contrib/peer2anonet/peer2anonet
@@ -438,6 +438,8 @@ CONFIGURE_DNS(){
     GIT_IP=`cat conf/gitd_ip` || exit 1
     GIT_DOMAIN="git.$NICK.ano"

+    ./scripts/add_dom $NICK.ano $NICK $TINYDNS_DOMAIN/$TINYDNS_IP > /dev/null 2>&1
+
     if [ -w /etc/rc.local ]; then
         if [[ $(cat /etc/rc.local) != *"ip addr add $TINYDNS_ROOT_IP/32 dev lo &"* ]]; then
             echo "ip addr add $TINYDNS_ROOT_IP/32 dev lo &" >> /etc/rc.local

-----END OF PAGE-----