summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--contrib/marc/marc.dbbin1840750 -> 0 bytes
-rwxr-xr-xcontrib/whoisd/whoisd-cached.sh7
-rwxr-xr-xcontrib/whoisd/whoisd.pl2
-rw-r--r--db/dom/ano/n/ns/ns1.n.ano1
-rw-r--r--db/dom/ano/n/ns/ns2.n.ano1
-rw-r--r--db/dom/ano/n/owner1
6 files changed, 11 insertions, 1 deletions
diff --git a/contrib/marc/marc.db b/contrib/marc/marc.db
index 890d0a4..e69de29 100644
--- a/contrib/marc/marc.db
+++ b/contrib/marc/marc.db
Binary files differ
diff --git a/contrib/whoisd/whoisd-cached.sh b/contrib/whoisd/whoisd-cached.sh
new file mode 100755
index 0000000..248fad6
--- /dev/null
+++ b/contrib/whoisd/whoisd-cached.sh
@@ -0,0 +1,7 @@
+#!/bin/sh
+cd /var/db/resdb
+commit=$(git log -1 | head -n1 | tr -cd 'a-f0-9')
+query=$(head -n1 | tr -cd 'a-zA-Z0-9.:_-')
+if ! cat "/var/cache/whois/${commit}-${query}" 2>/dev/null;then
+ printf "%s\n" "${query}" | /var/db/resdb/contrib/whoisd/whoisd.pl | tee "/var/cache/whois/${commit}-${query}"
+fi
diff --git a/contrib/whoisd/whoisd.pl b/contrib/whoisd/whoisd.pl
index 19af889..de9d768 100755
--- a/contrib/whoisd/whoisd.pl
+++ b/contrib/whoisd/whoisd.pl
@@ -1,4 +1,4 @@
-#!/usr/bin/perl
+#!/usr/pkg/bin/perl
# ncat -klp 43 -e ./whoisd.pl
# use inetd or tcpserver or ncat
diff --git a/db/dom/ano/n/ns/ns1.n.ano b/db/dom/ano/n/ns/ns1.n.ano
new file mode 100644
index 0000000..003bdef
--- /dev/null
+++ b/db/dom/ano/n/ns/ns1.n.ano
@@ -0,0 +1 @@
+21.41.41.1
diff --git a/db/dom/ano/n/ns/ns2.n.ano b/db/dom/ano/n/ns/ns2.n.ano
new file mode 100644
index 0000000..542e31a
--- /dev/null
+++ b/db/dom/ano/n/ns/ns2.n.ano
@@ -0,0 +1 @@
+fd63:1e39:6f73:2929::1
diff --git a/db/dom/ano/n/owner b/db/dom/ano/n/owner
new file mode 100644
index 0000000..3aea3d0
--- /dev/null
+++ b/db/dom/ano/n/owner
@@ -0,0 +1 @@
+epoch