changeset 532:c9a7817b5f1d draft

reverting IPv6 changes because too much new complexity and no real benefit
author Nick <nick@somerandomnick.ano>
date Thu, 07 Jul 2011 16:00:12 +0000
parents f8cad391a449
children a7ebab96d346
files db/dom/ano/jaguar/ns/ns.jaguar.ano db/dom/ano/jaguar/ns/ns.jaguar.ano/ipv4/0 db/dom/ano/jaguar/ns/ns.jaguar.ano/ipv6/0 db/dom/ano/lynx/ns/ns.lynx.ano db/dom/ano/lynx/ns/ns.lynx.ano/ipv4/0 db/dom/ano/lynx/ns/ns.lynx.ano/ipv6/0 db/dom/ano/ucis/ns/ns2.ucis.ano db/dom/ano/ucis/ns/ns2.ucis.ano/ipv4/0 db/dom/ano/ucis/ns/ns2.ucis.ano/ipv6/0 scripts/check_db_safety
diffstat 10 files changed, 7 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/db/dom/ano/jaguar/ns/ns.jaguar.ano	Thu Jul 07 16:00:12 2011 +0000
@@ -0,0 +1,1 @@
+1.3.10.1
--- a/db/dom/ano/jaguar/ns/ns.jaguar.ano/ipv4/0	Wed Jul 06 19:46:08 2011 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,1 +0,0 @@
-1.3.10.1
--- a/db/dom/ano/jaguar/ns/ns.jaguar.ano/ipv6/0	Wed Jul 06 19:46:08 2011 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,1 +0,0 @@
-fd63:1e39:6f73:30a::1
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/db/dom/ano/lynx/ns/ns.lynx.ano	Thu Jul 07 16:00:12 2011 +0000
@@ -0,0 +1,1 @@
+1.3.9.1
--- a/db/dom/ano/lynx/ns/ns.lynx.ano/ipv4/0	Wed Jul 06 19:46:08 2011 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,1 +0,0 @@
-1.3.9.1
--- a/db/dom/ano/lynx/ns/ns.lynx.ano/ipv6/0	Wed Jul 06 19:46:08 2011 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,1 +0,0 @@
-fd63:1e39:6f73:309::1
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/db/dom/ano/ucis/ns/ns2.ucis.ano	Thu Jul 07 16:00:12 2011 +0000
@@ -0,0 +1,1 @@
+1.3.3.67
--- a/db/dom/ano/ucis/ns/ns2.ucis.ano/ipv4/0	Wed Jul 06 19:46:08 2011 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,1 +0,0 @@
-1.3.3.67
--- a/db/dom/ano/ucis/ns/ns2.ucis.ano/ipv6/0	Wed Jul 06 19:46:08 2011 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,1 +0,0 @@
-fd63:1e39:6f73:303:ff84:0:103:343
--- a/scripts/check_db_safety	Wed Jul 06 19:46:08 2011 +0100
+++ b/scripts/check_db_safety	Thu Jul 07 16:00:12 2011 +0000
@@ -15,6 +15,7 @@
    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 @@
     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 @@
       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 @@
        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