Supplied TLD is incorrect

Started by thetrusteeco, May 21, 2013, 02:47:40 AM

thetrusteeco

.rs (Serbia) should also be on the "Supplied TLD is incorrect" list.  If you are looking to get .rs domains working:

IN:

/includes/extend/whois/whois.php

UNDER:

'.ro' => Array(
'server' => 'whois.rotld.ro',
'available' => 'No entries found'
),


ADD:

'.rs' => Array(
'server' => 'whois.rnids.rs',
'available' => '%ERROR:103: Domain is not registered'
),

"No man really becomes a fool until he stops asking questions"
Charles Proteus Steinmetz

thetrusteeco

If you are looking to get .cd (Congo) domains working:

IN:

/includes/extend/whois/whois.php

REPLACE

'.cd' => array(
'server' => 'whois.nic.cd',
'available' => "Domain Not Found"
),


WITH

'.cd' => array(
'server' => '41.76.213.175',
'available' => 'Available'
),



"No man really becomes a fool until he stops asking questions"
Charles Proteus Steinmetz

thetrusteeco

#47
If you are looking to get .to (Tonga) domains working:

IN:

/includes/extend/whois/whois.php

REPLACE

'.to' => array(
'server' => 'whois.tonic.to',
'available' => "No match for"
),


WITH

'.to' => array(
'server' => 'http://www.tonic.to/whois?',
'available' => 'No match for domain'
),

"No man really becomes a fool until he stops asking questions"
Charles Proteus Steinmetz

thetrusteeco

#48
HostBill v4.7.0 still has the whois.php file from 13/11/2012 8:43 AM so here's an update.

The dysfunctional TLDs/SLDs as of HostBill v4.7.0:

The perpetual "Not Available" issue is affecting the following T/SLDs:
.ac, .af, .cd, .cx, .ec, .gd, .gs, .gy, .hn, .ht, .io, .ke, .lc, .lt, .mm, .mn, .ms, .mu, .nf, .ng, .ph, .sb, .sh, .tc, .tl, .tm, .tn, .vg, .org.za, nom.za

The perpetual "Available" issue is affecting the following T/SLDs:
.mk, .or.af, .co.cz, .com.de, .or.mg, .co.nl, .co.no, CentralNIC SLDs

The "Supplied TLD is incorrect" problem is affecting the following T/SLDs:
.ad, .ao, .ar, .as, .bd, .bh, .bo, .bs, .bw, .bz, .cm, .cr, .cu, .cv, .dj, .gf, .gp, .gt, .iq, .jo, .ke, .kn, .kw, .lb, .lk, .pk, .rw, .sl, .sv, .sx, .tj, .ua, .ve, .vn

Fixes 1 -> 18 (37 tlds + 5 sld + CentralNIC SLDs)
.ac, .af, .ao, .as, .bd, .bw, .bz, .cd, .cm, .cv, .cx, .ec, .gy, .gs, .gt, .hn, .ht, .io, .ke, .lc, .lk (TLD only), .mg, .mn, .ms, .mu, .nf, .ng, .pa, .ph, .rs, .sb, .sh, .sx, .tl, .tm, .to, .ua, .co.cz, .com.de, .co.nl, .co.no, .org.za, CentralNIC SLDs

The lists after Fix 1-18
The perpetual "Not Available" issue is affecting the following T/SLDs:
.gd, .tc, .tn, .vg, .nom.za

The perpetual "Available" issue is affecting the following T/SLDs:
.or.af, .lk (all SLDs), .mk, .or.mg

The "Supplied TLD is incorrect" problem is affecting the following T/SLDs:
.ad, .ar, .bh, .bo, .bs, .cr, .cu, .dj, .gf, .gp, .iq, .jo, .kn, .kw, .lb, .mm, .pk, .rw, .sl, .sv, .tj, .ve, .vn

Attached it an Updated whois.txt file (v5).  To use it, RENAME it to whois.php and UPLOAD to:

/includes/extend/whois/

TOU: File is provided as is.  Use if you want.

Question: Does anyone think it would be a KBKP TOS violation to provide a download link for the updated whois.php from my site?  I don't own the code, and I don't want KBKP shutting down my site.
"No man really becomes a fool until he stops asking questions"
Charles Proteus Steinmetz

thetrusteeco

If you are looking to get .tz (Tanzania) domains working:

IN:

/includes/extend/whois/whois.php

UNDER:

'.tw' => Array(
'server' => 'whois.twnic.net.tw',
'available' => 'No Found'
),


ADD:


'.tz' => Array(
'server' => 'whois.tznic.or.tz',
'available' => 'ERROR:101: no entries found'
),
"No man really becomes a fool until he stops asking questions"
Charles Proteus Steinmetz

tallship

Quote from: thetrusteeco on June 30, 2013, 06:32:06 AMQuestion: Does anyone think it would be a KBKP TOS violation to provide a download link for the updated whois.php from my site?  I don't own the code, and I don't want KBKP shutting down my site.

Your guess is as good as anyone's, but maybe if you stipulate that this mod'd file is intended for Pre-4.6.0 owners of HostBill, just to CYA? I don't think there's anything wrong with a pre-4.6.0 owner mod'ing anything, and it has been pointed out that even the requirements placed on post-4.5.8 users aren't legally binding, but who can tell if someone has really taken their meds today?
Bradley D. Thornton - Manager Network Services, NorthTech Computer   TEL: +1.310.388.9469 (US) | +44.203.318.2755 (UK) | +61.390.088.072 (AU) | +41.43.508.05.10 (CH)
Registered Linux User #190795 - "Ask Bill why the string in [MS-DOS] function 9 is terminated by a dollar sign. Ask him, because he can't answer. Only I know that." - Dr. Gary Kildall.

thetrusteeco

Quote from: tallship on July 01, 2013, 04:38:08 PM
Your guess is as good as anyone's, but maybe if you stipulate that this mod'd file is intended for Pre-4.6.0 owners of HostBill, just to CYA? I don't think there's anything wrong with a pre-4.6.0 owner mod'ing anything, and it has been pointed out that even the requirements placed on post-4.5.8 users aren't legally binding, but who can tell if someone has really taken their meds today?

Yeah, my thoughts exactly.  I guess I'll just keep updating this thread until we get a downloads section set up.
"No man really becomes a fool until he stops asking questions"
Charles Proteus Steinmetz

thetrusteeco

If you are looking to get .gd (Grenada) and .sn (Senegal) domains working:

IN:

/includes/extend/whois/whois.php

For .gd
REPLACE:

'.gd' => Array(
'server' => 'whois.adamsnames.com',
'available' => 'not registered'
),


WITH

'.gd' => Array(
'server' => 'whois.nic.gd',
'available' => 'not found...'
),


For .sn
UNDER

'.sk' => array(
'server' => 'whois.sk-nic.sk',
'available' => "Not found."
),


ADD

'.sn' => Array(
'server' => 'http://whois.nic.sn/whois.php?domain=',
'available' => 'Ce domaine n\'existe pas'
),

"No man really becomes a fool until he stops asking questions"
Charles Proteus Steinmetz

thetrusteeco

If you are looking to get .vu (Vanuatu) and .ac.za (South African Academic) domains working:

IN:

/includes/extend/whois/whois.php

For .vu
UNDER:

'.vg' => Array(
'server' => 'whois.tc',
'available' => 'is not registered'
),


ADD:

'.vu' => Array(
'server' => 'http://www.vunic.vu/whois?',
'available' => 'No match for domain'
),


For .ac.za
UNDER:

'.za' => Array(
'server' => 'http://co.za/cgi-bin/whois.sh?Domain=',
'available' => 'No Matches'
    ),


'.ac.za' => array(
'server' => 'http://whois.ac.za/cgi_domainquery.exe?domain=',
'available' => 'is not registered'
),
"No man really becomes a fool until he stops asking questions"
Charles Proteus Steinmetz

thetrusteeco

#54
HostBill v4.7.2 still has the whois.php file from 13/11/2012 8:43 AM so here's an update.

The dysfunctional TLDs/SLDs as of HostBill v4.7.0:

The perpetual "Not Available" issue is affecting the following T/SLDs:
.ac, .af, .cd, .cx, .ec, .gd, .gs, .gy, .hn, .ht, .io, .ke, .lc, .lt, .mm, .mn, .ms, .mu, .nf, .ng, .ph, .sb, .sh, .tc, .tl, .tm, .tn, .ve, .vg, .ac.za, .nom.za, .org.za

The perpetual "Available" issue is affecting the following T/SLDs:
.mk, .or.af, .co.cz, .com.de, .or.mg, .co.nl, .co.no, CentralNIC SLDs

The "Supplied TLD is incorrect" problem is affecting the following T/SLDs:
.ad, .ao, .ar, .as, .bd, .bh, .bo, .bs, .bw, .bz, .cm, .cr, .cu, .cv, .dj, .gf, .gp, .gt, .iq, .jo, .kn, .kw, .lb, .lk, .ls, .mw, .mz, .pk, .rw, .sl, .sn, .sv, .sx, .sz, .tj, .tz, .ua, .ve, .vn, .vu, .zm, .zw

Fixes 1-21 (41 tlds + 6 sld + CentralNIC SLDs)
.ac, .af, .ao, .as, .bd, .bw, .bz, .cd, .cm, .cv, .cx, .ec, .gd, .gs, .gt, .gy, .hn, .ht, .io, .ke, .lc, .lk (TLD only), .mg, .mn, .ms, .mu, .nf, .ng, .pa, .ph, .rs, .sb, .sh, .sn, .sx, .tl, .tm, .to, .tz, .ua, .vu, .co.cz, .com.de, .co.nl, .co.no, .ac.za, .org.za, CentralNIC SLDs

The lists after Fix 1-21
The perpetual "Not Available" issue is affecting the following T/SLDs:
.tc, .tn, .vg, .nom.za

The perpetual "Available" issue is affecting the following T/SLDs:
.or.af, .lk (all SLDs), .mk, .or.mg

The "Supplied TLD is incorrect" problem is affecting the following T/SLDs:
.ad, .ar, .bh, .bo, .bs, .cr, .cu, .dj, .gf, .gp, .iq, .jo, .kn, .kw, .lb, .ls, .mm, .mw, .mz, .pk, .rw, .sl, .sv, .sz, .tj, .ve, .vn, .zm, .zw

Attached it an Updated whois.txt file (v6).  To use it, RENAME it to whois.php and UPLOAD to:

/includes/extend/whois/

TOU: File is provided as is.  Use if you want.

ALSO: I've opened another bug at KBKP about this file (HTTP Requests not supporting HTTPS), please vote for it if you want more TLDs functioning, as the code that governs this appears to be encrypted.
"No man really becomes a fool until he stops asking questions"
Charles Proteus Steinmetz

thetrusteeco

#55
To get .bs (Bahamas), .lb (Lebanon), and .mk (Macedonia) domains working:

IN:

/includes/extend/whois/whois.php

For .bs
UNDER:

'.br' => Array(
'server' => 'whois.registro.br',
'available' => 'No match for domain'
),


ADD:

'.bs' => array(
'server' => 'http://register.bs/cgi-bin/search.pl?name=',
'available' => 'has not yet been Registered'
),


For .lb
UNDER

'.la' => Array(
'server' => 'whois.nic.la',
'available' => 'NOT FOUND'
),


ADD:

'.lb' => Array(
'server' => 'http://www.aub.edu.lb/cgi-bin/lbdr.pl?B1=Search&cn=',
'available' => 'No matching entries in root domain'
),


For .mk
REPLACE:

'.mk' => array(
'server' => 'whois.ripe.net',
'available' => "No entries found"
),


WITH:

'.mk' => array(
'server' => 'http://reg.marnet.net.mk/registar.php?dom=',
'available' => '.mk '
),
"No man really becomes a fool until he stops asking questions"
Charles Proteus Steinmetz

thetrusteeco

#56
To get .by (Belarus), .mm (Myanmar), and .pk (Pakistan) domains working correctly:

IN:

/includes/extend/whois/whois.php

For .by
REPLACE:

'.by' => array(
'server' => 'whois.ripe.net',
'available' => "no entries found"
),


WITH:

'.by' => array(
'server' => 'whois.cctld.by',
'available' => 'Object does not exist'
),


For .mm
UNDER:

'.mk' => array(
'server' => 'http://reg.marnet.net.mk/registar.php?dom=',
'available' => '.mk '
),


ADD:

'.mm' => Array(
'server' => '61.4.68.21',
'available' => 'Domain Not Found'
),


For .pk
UNDER:

'.ph' => Array(
'server' => 'http://www2.dot.ph/WhoIs.asp?Domain=',
'available' => 'is still available'
),


ADD:

'.pk' => Array(
'server' => 'http://pk6.pknic.net.pk/pk5/lookup.PK?name=',
'available' => 'Domain not found:'
),
"No man really becomes a fool until he stops asking questions"
Charles Proteus Steinmetz

tallship

Bradley D. Thornton - Manager Network Services, NorthTech Computer   TEL: +1.310.388.9469 (US) | +44.203.318.2755 (UK) | +61.390.088.072 (AU) | +41.43.508.05.10 (CH)
Registered Linux User #190795 - "Ask Bill why the string in [MS-DOS] function 9 is terminated by a dollar sign. Ask him, because he can't answer. Only I know that." - Dr. Gary Kildall.

thetrusteeco

#58
To get .py (Paraguay), and .su (Soviet Union) domains working correctly:

IN:

/includes/extend/whois/whois.php

For .py
UNDER:

'.ps' => array(
'server' => 'http://www.pnina.ps/domains/whois/?d=',
'available' => 'has not been registered.',
),


ADD:

'.py' => Array(
'server' => 'http://www.nic.py/cgi-nic/consultas/dquery?nombre_dominio=',
'available' => 'No se encontraron datos para el dominio solicitado.'
),


For .su
REPLACE:

'.su' => array(
'server' => 'whois.ripn.net',
'available' => "No entries found for the selected source(s)"
),


WITH

'.su' => array(
'server' => 'whois.tcinet.ru',
'available' => 'No entries found'
),

"No man really becomes a fool until he stops asking questions"
Charles Proteus Steinmetz

thetrusteeco

To get .tn (Tunisia) domains working:

IN:

/includes/extend/whois/whois.php

REPLACE:

'.tn' => array(
'server' => 'whois.ripe.net',
'available' => "no entries found"
),


WITH:

'.tn' => array(
'server' => 'whois.tn',
'available' => 'not found'
),
"No man really becomes a fool until he stops asking questions"
Charles Proteus Steinmetz