Mercurial > hg > anonet-resdb
comparison scripts/nameserver_autogen/dnsmasq_tld_conffile @ 91:17e4bef39c08 draft
Modification of scripts/nameserver_autogen/dnsmasq_tld_conffile
author | pragmo <pragmo@pragmo.ano> |
---|---|
date | Thu, 05 Aug 2010 02:45:46 +0200 |
parents | f091fb99fcf9 |
children | 9e6718a2d6c6 |
comparison
equal
deleted
inserted
replaced
90:baece7943fe7 | 91:17e4bef39c08 |
---|---|
1 #!/bin/bash | 1 #!/bin/bash |
2 #Remember to redirect the output into some file! | 2 #Remember to redirect the output into some file! |
3 | |
4 sh scripts/check_db_safety || exit 1 | |
3 | 5 |
4 for tld in $(ls db/dom/); do | 6 for tld in $(ls db/dom/); do |
5 for domain in $(ls db/dom/${tld}/); do | 7 for domain in $(ls db/dom/${tld}/); do |
6 for ns in $(cat db/dom/${tld}/${domain}/ns/*); do | 8 for ns in $(cat db/dom/${tld}/${domain}/ns/*); do |
7 STR="server=/${domain}.${tld}/${ns}" | 9 STR="server=/${domain}.${tld}/${ns}" |