comparison scripts/nameserver_autogen/dnsmasq_tld_conffile @ 82:db00fd40866c draft

added ip6
author Antonio Quartulli <ordex@ritirata.org>
date Thu, 29 Jul 2010 21:23:57 +0200
parents
children f091fb99fcf9
comparison
equal deleted inserted replaced
81:0cc5cad6226b 82:db00fd40866c
1 #!/bin/bash
2 #Remember to redirect the output into some file!
3
4 for tld in $(ls db/dom/); do
5 for domain in $(ls db/dom/${tld}/); do
6 for ns in $(cat db/dom/${tld}/${domain}/ns/*); do
7 echo server=/${domain}.${tld}/${ns};
8 done;
9 done;
10 done