repo: resdb
action: commit
revision: 
path_from: 
revision_from: 954370bda476ad83458fde843a43f0477c6fcb42:
path_to: 
revision_to: 
git.thebackupbox.net
resdb
git clone git://git.thebackupbox.net/resdb
commit 954370bda476ad83458fde843a43f0477c6fcb42
Author: epoch 
Date:   Fri Aug 23 18:22:48 2013 +0000

    updated whoid

diff --git a/contrib/whoisd/whoisd.pl b/contrib/whoisd/whoisd.pl
index 8580475055b882e5bf5190a470eeafbdffefa0f3..
index ..06c2cdfbf2034c05f837b037154a79fe702f97a1 100755
--- a/contrib/whoisd/whoisd.pl
+++ b/contrib/whoisd/whoisd.pl
@@ -97,3 +97,12 @@ foreach(split(/\n/,`grep '^$QUERY\$' */owner | cut -d/ -f1`)) {
  $out =~ s/\n//g;
  printf "%-20s %s\n", "ASN" . ":", $out;
 }
+
+foreach(split(/\n/,`grep -i -e "^$QUERY\$" "$RESDB/db/dom"/*/*/owner`)) {
+ $out = $_;
+ $out =~ s/.*\/db\/dom\/(.+?)\/(.+?)\/owner.*/\2\.\1/;
+ if ($out ne "") { #fix this comparison.
+  printf "%-20s %s\n", "domain" . ":", $out;
+ }
+}
+#printf "%-20s %s\n", "notice:","$QUERY did not claim any domains yet";

-----END OF PAGE-----