# HG changeset patch # User epoch # Date 1584780978 0 # Node ID b8624e57fd963c5d02f9b748b4f5681e9b6f22c0 # Parent 499aae037a7d3629cea30916b6346069cbe2915a added case-insensitive matching to ASN queries. diff -r 499aae037a7d -r b8624e57fd96 contrib/whoisd/whoisd.pl --- a/contrib/whoisd/whoisd.pl Thu Sep 05 02:36:34 2019 +0000 +++ b/contrib/whoisd/whoisd.pl Sat Mar 21 08:56:18 2020 +0000 @@ -5,7 +5,8 @@ use strict; #maybe chroot this whoisd? -my $RESDB = "/services/resdb/resdb"; +#my $RESDB = "/services/resdb/resdb"; +my $RESDB = "/var/db/resdb"; my $HACK=0; my $QUERY=; @@ -103,7 +104,7 @@ } sub ASN_lookup { - if($QUERY =~ m/^AS(.+?)$/) { + if($QUERY =~ m/^AS(.+?)$/i) { printf "%% AS section for %s\n", $QUERY; my $AS=$1; chdir("$RESDB/db/as") || die "%% error"; diff -r 499aae037a7d -r b8624e57fd96 db/dom/ano/whois/ns/ns1.whois.ano --- a/db/dom/ano/whois/ns/ns1.whois.ano Thu Sep 05 02:36:34 2019 +0000 +++ b/db/dom/ano/whois/ns/ns1.whois.ano Sat Mar 21 08:56:18 2020 +0000 @@ -1,1 +1,1 @@ -21.41.41.1 +21.41.41.5 diff -r 499aae037a7d -r b8624e57fd96 db/dom/ano/whois/ns/ns2.whois.ano --- a/db/dom/ano/whois/ns/ns2.whois.ano Thu Sep 05 02:36:34 2019 +0000 +++ b/db/dom/ano/whois/ns/ns2.whois.ano Sat Mar 21 08:56:18 2020 +0000 @@ -1,1 +1,1 @@ -fd63:1e39:6f73:2929::1 +fd63:1e39:6f73:2929::5