Mercurial > hg > anonet-resdb
comparison scripts/nameserver_autogen/dnsmasq_tld_conffile @ 745:60d4fd0dbb3f draft
bugfix (thx Nomius)
author | Nick <nick@somerandomnick.ano> |
---|---|
date | Thu, 10 Nov 2011 05:42:38 +0000 |
parents | bc0c2cfc9921 |
children | 3b3f6b3d0501 |
comparison
equal
deleted
inserted
replaced
744:1da493e6b1e7 | 745:60d4fd0dbb3f |
---|---|
29 | 29 |
30 echo | 30 echo |
31 | 31 |
32 for tld in $($LS db/dom/); do | 32 for tld in $($LS db/dom/); do |
33 for domain in $($LS db/dom/${tld}/); do | 33 for domain in $($LS db/dom/${tld}/); do |
34 if [ -d $($LS db/dom/${tld}/{$domain}/ns/ ]; then | 34 if [ -d $($LS db/dom/${tld}/{$domain}/ns/) ]; then |
35 for ns in $($LS db/dom/${tld}/${domain}/ns/); do | 35 for ns in $($LS db/dom/${tld}/${domain}/ns/); do |
36 STR="server=/${domain}.${tld}/$(scripts/ns2ip -f ${ns})" | 36 STR="server=/${domain}.${tld}/$(scripts/ns2ip -f ${ns})" |
37 echo $STR | 37 echo $STR |
38 done; | 38 done; |
39 fi | 39 fi |