# HG changeset patch # User epoch # Date 1382933776 0 # Node ID ca4d35064aa25122be30f26e72ab51b65cc28c28 # Parent df0dccdd1901cf17b264ff00b970c3311e32836c fixed the ns.whois.ano thing... don't remember what I did to whoisd.pl. Oh well. diff -r df0dccdd1901 -r ca4d35064aa2 contrib/whoisd/whoisd.pl --- a/contrib/whoisd/whoisd.pl Sat Oct 26 12:22:53 2013 +0000 +++ b/contrib/whoisd/whoisd.pl Mon Oct 28 04:16:16 2013 +0000 @@ -6,11 +6,17 @@ use strict; +#maybe chroot this whoisd? my $RESDB = "/services/resdb/resdb"; my $HACK=0; my $QUERY=; $QUERY =~ s/\r\n//g; +$QUERY =~ s/\///g; +if($QUERY eq '') { + printf "%% error. no query. wtf?"; + exit 0; +} my $out; my $title; my $value; @@ -97,7 +103,7 @@ } # default to assuming it is a name. -printf "%% user section for %s\n", $QUERY unless $HACK; +printf "%% user section for '%s'\n", $QUERY unless $HACK; chdir("$RESDB/db/usr") || die "%% error"; if(chdir($QUERY)) { diff -r df0dccdd1901 -r ca4d35064aa2 db/dom/ano/whois/ns/ns.whois.ano --- a/db/dom/ano/whois/ns/ns.whois.ano Sat Oct 26 12:22:53 2013 +0000 +++ b/db/dom/ano/whois/ns/ns.whois.ano Mon Oct 28 04:16:16 2013 +0000 @@ -0,0 +1,1 @@ +1.41.41.1