changeset 1115:c6666d29e9c6 draft

epoch added his anonet ipv6 range to the db. not sure what I changed in add_dom... that's odd.
author epoch <epoch@hacking.allowed.org>
date Sun, 12 May 2013 09:46:28 +0000
parents fdc8a91c4ced
children 5645d1ed79c5
files db/ip6/F/D/6/3/1/E/3/9/6/F/7/3/2/9/2/9/cidr db/ip6/F/D/6/3/1/E/3/9/6/F/7/3/2/9/2/9/owner scripts/add_dom
diffstat 3 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/db/ip6/F/D/6/3/1/E/3/9/6/F/7/3/2/9/2/9/cidr	Sun May 12 09:46:28 2013 +0000
@@ -0,0 +1,1 @@
+fd63:1e39:6f73:2929::/64
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/db/ip6/F/D/6/3/1/E/3/9/6/F/7/3/2/9/2/9/owner	Sun May 12 09:46:28 2013 +0000
@@ -0,0 +1,1 @@
+epoch
--- a/scripts/add_dom	Thu May 16 02:15:42 2013 +0000
+++ b/scripts/add_dom	Sun May 12 09:46:28 2013 +0000
@@ -4,7 +4,7 @@
  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