summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-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