summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorepoch <epoch@hacking.allowed.org>2013-05-12 09:46:28 +0000
committerepoch <epoch@hacking.allowed.org>2013-05-15 23:32:44 -0500
commitb09ebf67a7b0036f2f0f539ec6ee95d02d4c0cba (patch)
treeca6dc0f99a43728183000ec5d4514f8fc1fcbc8e
parent69cd288ce531f9dec2f59102f8e4f4d8288077a3 (diff)
downloadresdb-b09ebf67a7b0036f2f0f539ec6ee95d02d4c0cba.tar.gz
resdb-b09ebf67a7b0036f2f0f539ec6ee95d02d4c0cba.zip
epoch added his anonet ipv6 range to the db. not sure what I changed in add_dom... that's odd.
-rw-r--r--db/ip6/F/D/6/3/1/E/3/9/6/F/7/3/2/9/2/9/cidr1
-rw-r--r--db/ip6/F/D/6/3/1/E/3/9/6/F/7/3/2/9/2/9/owner1
-rwxr-xr-xscripts/add_dom2
3 files changed, 3 insertions, 1 deletions
diff --git a/db/ip6/F/D/6/3/1/E/3/9/6/F/7/3/2/9/2/9/cidr b/db/ip6/F/D/6/3/1/E/3/9/6/F/7/3/2/9/2/9/cidr
new file mode 100644
index 0000000..ece2915
--- /dev/null
+++ b/db/ip6/F/D/6/3/1/E/3/9/6/F/7/3/2/9/2/9/cidr
@@ -0,0 +1 @@
+fd63:1e39:6f73:2929::/64
diff --git a/db/ip6/F/D/6/3/1/E/3/9/6/F/7/3/2/9/2/9/owner b/db/ip6/F/D/6/3/1/E/3/9/6/F/7/3/2/9/2/9/owner
new file mode 100644
index 0000000..3aea3d0
--- /dev/null
+++ b/db/ip6/F/D/6/3/1/E/3/9/6/F/7/3/2/9/2/9/owner
@@ -0,0 +1 @@
+epoch
diff --git a/scripts/add_dom b/scripts/add_dom
index 89626f3..013ce18 100755
--- a/scripts/add_dom
+++ b/scripts/add_dom
@@ -4,7 +4,7 @@ if [ x"$2" = x ]; then
echo "Usage: $0 <dom> <owner> [<ns[/nsip]>...]" >&2; exit 255
fi
-dir=db/dom/"$(echo "$1" | tr . '\n' | tac | tr '\n' / | head -c -1)"
+dir=db/dom/"$(echo "$1" | tr . '\n' | tac | tr '\n' / | ./scripts/head_-c_-1)"
mkdir "$dir" || exit 1
echo "$2" > "$dir/owner"
mkdir "$dir/ns" || exit 1