summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 34ccb0c..b60a964 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 -p "$dir" || exit 1
echo "$2" > "$dir/owner"
mkdir "$dir/ns" || exit 1