summaryrefslogtreecommitdiff
path: root/scripts/nameserver_autogen/dnsmasq_tld_conffile
diff options
context:
space:
mode:
authorpragmo <pragmo@pragmo.ano>2010-08-05 02:45:46 +0200
committerpragmo <pragmo@pragmo.ano>2010-08-05 02:45:46 +0200
commitbb9dc0c1f42ec6d42fc283c880652302b2d5b13d (patch)
tree2b7ac8f752edae1fb5d433dae18b25e9d96faa71 /scripts/nameserver_autogen/dnsmasq_tld_conffile
parentdfec849e0b79207f485fe19f6e362130bae5abc0 (diff)
downloadresdb-bb9dc0c1f42ec6d42fc283c880652302b2d5b13d.tar.gz
resdb-bb9dc0c1f42ec6d42fc283c880652302b2d5b13d.zip
Modification of scripts/nameserver_autogen/dnsmasq_tld_conffile
Diffstat (limited to 'scripts/nameserver_autogen/dnsmasq_tld_conffile')
-rwxr-xr-x[-rw-r--r--]scripts/nameserver_autogen/dnsmasq_tld_conffile2
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/nameserver_autogen/dnsmasq_tld_conffile b/scripts/nameserver_autogen/dnsmasq_tld_conffile
index a9eb16c..e7d3fb6 100644..100755
--- a/scripts/nameserver_autogen/dnsmasq_tld_conffile
+++ b/scripts/nameserver_autogen/dnsmasq_tld_conffile
@@ -1,6 +1,8 @@
#!/bin/bash
#Remember to redirect the output into some file!
+sh scripts/check_db_safety || exit 1
+
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