From 0f221e9b06d668695c6ec75e6f722398eab68d8f Mon Sep 17 00:00:00 2001 From: d3v11 Date: Sun, 15 Jan 2012 23:05:12 +0000 Subject: added automatic addition of nameservers to resdb --- contrib/peer2anonet/peer2anonet | 2 ++ 1 file changed, 2 insertions(+) (limited to 'contrib/peer2anonet') diff --git a/contrib/peer2anonet/peer2anonet b/contrib/peer2anonet/peer2anonet index f8b9de2..c7a3478 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 -- cgit v1.2.3