changeset 1207:a461bd595421 draft

claimed n.ano for link shortener. some minor changes to whoisd and I guess pulled a new copy of marc.db.
author epochqwert <epoch@hacking.allowed.org>
date Sat, 07 Jul 2018 23:07:29 +0000
parents 08be53f67e42
children 4e77dfbee7e7
files contrib/marc/marc.db contrib/whoisd/whoisd-cached.sh contrib/whoisd/whoisd.pl db/dom/ano/n/ns/ns1.n.ano db/dom/ano/n/ns/ns2.n.ano db/dom/ano/n/owner
diffstat 6 files changed, 11 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
Binary file contrib/marc/marc.db has changed
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/contrib/whoisd/whoisd-cached.sh	Sat Jul 07 23:07:29 2018 +0000
@@ -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
--- a/contrib/whoisd/whoisd.pl	Sun May 13 19:28:39 2018 +0000
+++ b/contrib/whoisd/whoisd.pl	Sat Jul 07 23:07:29 2018 +0000
@@ -1,4 +1,4 @@
-#!/usr/bin/perl
+#!/usr/pkg/bin/perl
 # ncat -klp 43 -e ./whoisd.pl
 # use inetd or tcpserver or ncat
 
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/db/dom/ano/n/ns/ns1.n.ano	Sat Jul 07 23:07:29 2018 +0000
@@ -0,0 +1,1 @@
+21.41.41.1
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/db/dom/ano/n/ns/ns2.n.ano	Sat Jul 07 23:07:29 2018 +0000
@@ -0,0 +1,1 @@
+fd63:1e39:6f73:2929::1
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/db/dom/ano/n/owner	Sat Jul 07 23:07:29 2018 +0000
@@ -0,0 +1,1 @@
+epoch