comparison scripts/nameserver_autogen/dnsmasq_tld_conffile @ 604:bc0c2cfc9921 draft

d3v1150m471c.ano has no ns directory, dnsmasq zonegen now handles it
author Nick <nick@somerandomnick.ano>
date Tue, 13 Sep 2011 03:53:18 +0000
parents 750fe07d268e
children 60d4fd0dbb3f
comparison
equal deleted inserted replaced
603:a4e5033ce156 604:bc0c2cfc9921
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 for ns in $($LS db/dom/${tld}/${domain}/ns/); do 34 if [ -d $($LS db/dom/${tld}/{$domain}/ns/ ]; then
35 STR="server=/${domain}.${tld}/$(scripts/ns2ip -f ${ns})" 35 for ns in $($LS db/dom/${tld}/${domain}/ns/); do
36 echo $STR 36 STR="server=/${domain}.${tld}/$(scripts/ns2ip -f ${ns})"
37 done; 37 echo $STR
38 done;
39 fi
38 done; 40 done;
39 done 41 done