Mercurial > hg > anonet-resdb
comparison scripts/nameserver_autogen/dnsmasq_tld_conffile @ 746:3b3f6b3d0501 draft
bugfix (thx Nomius)
author | Nick <nick@somerandomnick.ano> |
---|---|
date | Thu, 10 Nov 2011 05:46:56 +0000 |
parents | 60d4fd0dbb3f |
children | 04a5f1cdced7 |
comparison
equal
deleted
inserted
replaced
745:60d4fd0dbb3f | 746:3b3f6b3d0501 |
---|---|
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 |