diff options
-rw-r--r-- | db/dom/ano/jaguar/ns/ns.jaguar.ano (renamed from db/dom/ano/jaguar/ns/ns.jaguar.ano/ipv4/0) | 0 | ||||
-rw-r--r-- | db/dom/ano/jaguar/ns/ns.jaguar.ano/ipv6/0 | 1 | ||||
-rw-r--r-- | db/dom/ano/lynx/ns/ns.lynx.ano (renamed from db/dom/ano/lynx/ns/ns.lynx.ano/ipv4/0) | 0 | ||||
-rw-r--r-- | db/dom/ano/lynx/ns/ns.lynx.ano/ipv6/0 | 1 | ||||
-rw-r--r-- | db/dom/ano/ucis/ns/ns2.ucis.ano (renamed from db/dom/ano/ucis/ns/ns2.ucis.ano/ipv4/0) | 0 | ||||
-rw-r--r-- | db/dom/ano/ucis/ns/ns2.ucis.ano/ipv6/0 | 1 | ||||
-rwxr-xr-x | scripts/check_db_safety | 4 |
7 files changed, 4 insertions, 3 deletions
diff --git a/db/dom/ano/jaguar/ns/ns.jaguar.ano/ipv4/0 b/db/dom/ano/jaguar/ns/ns.jaguar.ano index fab2159..fab2159 100644 --- a/db/dom/ano/jaguar/ns/ns.jaguar.ano/ipv4/0 +++ b/db/dom/ano/jaguar/ns/ns.jaguar.ano diff --git a/db/dom/ano/jaguar/ns/ns.jaguar.ano/ipv6/0 b/db/dom/ano/jaguar/ns/ns.jaguar.ano/ipv6/0 deleted file mode 100644 index cf7d4c4..0000000 --- a/db/dom/ano/jaguar/ns/ns.jaguar.ano/ipv6/0 +++ /dev/null @@ -1 +0,0 @@ -fd63:1e39:6f73:30a::1 diff --git a/db/dom/ano/lynx/ns/ns.lynx.ano/ipv4/0 b/db/dom/ano/lynx/ns/ns.lynx.ano index c4d3ba9..c4d3ba9 100644 --- a/db/dom/ano/lynx/ns/ns.lynx.ano/ipv4/0 +++ b/db/dom/ano/lynx/ns/ns.lynx.ano diff --git a/db/dom/ano/lynx/ns/ns.lynx.ano/ipv6/0 b/db/dom/ano/lynx/ns/ns.lynx.ano/ipv6/0 deleted file mode 100644 index 09b1ee6..0000000 --- a/db/dom/ano/lynx/ns/ns.lynx.ano/ipv6/0 +++ /dev/null @@ -1 +0,0 @@ -fd63:1e39:6f73:309::1 diff --git a/db/dom/ano/ucis/ns/ns2.ucis.ano/ipv4/0 b/db/dom/ano/ucis/ns/ns2.ucis.ano index ae45c88..ae45c88 100644 --- a/db/dom/ano/ucis/ns/ns2.ucis.ano/ipv4/0 +++ b/db/dom/ano/ucis/ns/ns2.ucis.ano diff --git a/db/dom/ano/ucis/ns/ns2.ucis.ano/ipv6/0 b/db/dom/ano/ucis/ns/ns2.ucis.ano/ipv6/0 deleted file mode 100644 index af038c3..0000000 --- a/db/dom/ano/ucis/ns/ns2.ucis.ano/ipv6/0 +++ /dev/null @@ -1 +0,0 @@ -fd63:1e39:6f73:303:ff84:0:103:343 diff --git a/scripts/check_db_safety b/scripts/check_db_safety index a33bad3..d5e950b 100755 --- a/scripts/check_db_safety +++ b/scripts/check_db_safety @@ -15,6 +15,7 @@ for tld in db/dom/* ; do domain="$(basename $dom).$(basename $tld)" echo "There's a bad nameserver under $domain." >&2 echo "You probably don't want to run any shell scripts." >&2 + exit 1 fi for ns in $dom/ns/* ; do if [ "$(cat $ns | tr -d '0-9.\n' | wc -c | tr -d ' \t')" != 0 ]; then @@ -23,6 +24,7 @@ for tld in db/dom/* ; do echo "There's a bad nameserver IP under $domain, for" >&2 echo " $nsname" >&2 echo "You probably don't want to run any shell scripts." >&2 + exit 1 fi done done @@ -46,6 +48,7 @@ if [ "$(ls db/ip/ | tr -d 'A-F0-9\n' | wc -c | tr -d ' \t')" != 0 ]; then ip="$(basename $first).$(basename $second).$(basename $third).0/24" echo "There's a bad nameserver under $ip." >&2 echo "You probably don't want to run any shell scripts." >&2 + exit 1 fi for ns in $third/ns/* ; do if [ "$(cat $ns | tr -d '0-9.\n' | wc -c | tr -d ' \t')" != 0 ]; then @@ -54,6 +57,7 @@ if [ "$(ls db/ip/ | tr -d 'A-F0-9\n' | wc -c | tr -d ' \t')" != 0 ]; then echo "There's a bad nameserver IP under $ip, for" >&2 echo " $nsname" >&2 echo "You probably don't want to run any shell scripts." >&2 + exit 1 fi done done |