From dbe0648742bb79ada043bee179d208cb7f87e419 Mon Sep 17 00:00:00 2001 From: sparc Date: Thu, 29 Mar 2012 11:39:31 +0000 Subject: [PATCH] added handler for .xxx --- src/whois.servers.php | 1 - src/whois.xxx.php | 47 +++++++++++++++++++++++++++++++++++++++++++ test.txt | 25 ++++++++++++----------- 3 files changed, 60 insertions(+), 13 deletions(-) create mode 100644 src/whois.xxx.php diff --git a/src/whois.servers.php b/src/whois.servers.php index 8ae249f..643d552 100644 --- a/src/whois.servers.php +++ b/src/whois.servers.php @@ -247,7 +247,6 @@ $this->WHOIS_NON_ICANN = array ( 'viagem' => 'http://www.new.net/search_whois.tp?domain={domain}&tld={tld}', 'video' => 'http://www.new.net/search_whois.tp?domain={domain}&tld={tld}', 'voyage' => 'http://www.new.net/search_whois.tp?domain={domain}&tld={tld}', - 'xxx' => 'http://www.new.net/search_whois.tp?domain={domain}&tld={tld}', 'z' => 'http://www.adns.net/whois.php?txtDOMAIN={domain}.{tld}' ); ?> diff --git a/src/whois.xxx.php b/src/whois.xxx.php new file mode 100644 index 0000000..f7ecf70 --- /dev/null +++ b/src/whois.xxx.php @@ -0,0 +1,47 @@ + \ No newline at end of file diff --git a/test.txt b/test.txt index c11ecbb..6503da1 100644 --- a/test.txt +++ b/test.txt @@ -44,8 +44,8 @@ uk olsns.co.uk us neustar.us ve nic.ve ws samoanic.ws surf.ws -.co.za sex.co.za -.org.za sex.org.za +.co.za sex.co.za +.org.za sex.org.za // .com/.net/.tv/.jobs @@ -90,31 +90,32 @@ rrpproxy rrpproxy.net schlund schlund.com srsplus olsns.com namevault namevault.com -tmagnic antiquea.com +tmagnic antiquea.com tvcorp www.tv wwdomains wildwestdomains.com corporatedomains cscglobal.com // Other -aero nic.aero -asia nic.asia +aero nic.aero +asia nic.asia biz neulevel.biz cat dominis.cat -coop smile.coop nic.coop +coop smile.coop nic.coop edu berkeley.edu eu eurid.eu -info afilias.info +info afilias.info int who.int me domain.me -mobi mtld.mobi -museum nic.museum -name peter.morgan.name +mobi mtld.mobi +museum nic.museum +name peter.morgan.name org example.org pro registrypro.pro tel nic.tel -travel whois.travel -za.net sex.za.net +travel whois.travel +xxx nic.xxx +za.net sex.za.net // IP whois