diff options
author | Antonio Quartulli <ordex@ritirata.org> | 2010-08-03 17:28:17 +0200 |
---|---|---|
committer | Antonio Quartulli <ordex@ritirata.org> | 2010-08-03 17:28:17 +0200 |
commit | 049c097711867658f11fc98a8e4ffac84f29070f (patch) | |
tree | 4fc102954511f7a9c0fc4177a06c60853f424f17 /scripts | |
parent | 54e27ef2c1c369d53c0ed3bcca4329f908400b61 (diff) | |
download | resdb-049c097711867658f11fc98a8e4ffac84f29070f.tar.gz resdb-049c097711867658f11fc98a8e4ffac84f29070f.zip |
scripts/nameserver_autogen/dnsmasq_tld_conffile modified
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/nameserver_autogen/dnsmasq_tld_conffile | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/scripts/nameserver_autogen/dnsmasq_tld_conffile b/scripts/nameserver_autogen/dnsmasq_tld_conffile index a694e86..a9eb16c 100644 --- a/scripts/nameserver_autogen/dnsmasq_tld_conffile +++ b/scripts/nameserver_autogen/dnsmasq_tld_conffile @@ -4,7 +4,10 @@ for tld in $(ls db/dom/); do for domain in $(ls db/dom/${tld}/); do for ns in $(cat db/dom/${tld}/${domain}/ns/*); do - echo server=/${domain}.${tld}/${ns}; + STR="server=/${domain}.${tld}/${ns}" + if [ "$(grep $STR /etc/dnsmasq.conf)" = "" ]; then + echo $STR + fi done; done; done |