Author Topic: Supplied TLD is incorrect  (Read 13800 times)

0 Members and 1 Guest are viewing this topic.

Offline thetrusteeco

  • 257
  • 11
  • Active Participant
  • *****
    • The Trustee Co.
Re: Supplied TLD is incorrect
« Reply #75 on: July 29, 2013, 09:38:13 AM »
Another +1 for you :)

Thanks for your diligence. I believe people should be thanked for their commitment to community support so they know they're appreciated, and I do appreciate the effort you put into the whois client services :)

Kindest regards,

Thanks TallShip.  Always appreciated the props.

whois.txt v10 might be the last.  Most TLDs that can be fixed in HostBill have been.  Some others could be made operational if KBKP was willing to add a couple more functions to the WHOIS script:
1) https:// query (Like http:// query but via https://) - .ve (would have to work with a self signed SSL), .cr, .gr (without being listed at GRWEB), etc.
2) http:// query without the TLD specified - .dj, and .tj for example want "domain" submitted to the WHOIS, not "domain.tld"

I don't think KBKP is going to make any changes to the WHOIS functions if they can't even bother shipping an updated whois.php file.  Instead they keep shipping the same broken code.  We're heading to Blesta as soon as we feel it's stable enough.  Paul might still need to do a lot of work, but I think he's more likely to do it than KBKP is.  It's really unfortunate, because I love the functional parts of HostBill.
"No man really becomes a fool until he stops asking questions"
Charles Proteus Steinmetz

Offline thetrusteeco

  • 257
  • 11
  • Active Participant
  • *****
    • The Trustee Co.
Fix 35: Internet Computer Bureau Domains (again)
« Reply #76 on: August 02, 2013, 02:20:07 AM »
It looks like Internet Computer Bureau has make some changes that have affected HostBill's ability to query their site. Below are the fixes for .ac, .io, .sh and .tm.

For .ac
REPLACE:
Code: [Select]
'.ac' => Array(
'server' => 'http://www.nic.ac/cgi-bin/whois?query=',
'available' => 'This Domain is available for purchase'
),

WITH:
Code: [Select]
'.ac' => Array(
'server' => 'http://www.nic.ac/cgi-bin/whois?query=',
'available' => 'This Domain is'
),

For .io
REPLACE:
Code: [Select]
'.io' => Array(
'server' => 'http://www.nic.io/cgi-bin/whois?query=',
'available' => 'This Domain is available for purchase'
),

WITH:
Code: [Select]
'.io' => Array(
'server' => 'http://www.nic.io/cgi-bin/whois?query=',
'available' => 'This Domain is'
),

For .sh
REPLACE:
Code: [Select]
'.sh' => Array(
'server' => 'http://www.nic.sh/cgi-bin/whois?query=',
'available' => 'This Domain is available for purchase'
),

WITH:
Code: [Select]
'.sh' => Array(
'server' => 'http://www.nic.sh/cgi-bin/whois?query=',
'available' => 'This Domain is'
),

For .tm
REPLACE:
Code: [Select]
'.tm' => Array(
'server' => 'http://www.nic.tm/cgi-bin/whois?query=',
'available' => 'This Domain is available for purchase'
),

WITH:
Code: [Select]
'.tm' => Array(
'server' => 'http://www.nic.tm/cgi-bin/whois?query=',
'available' => 'This Domain is'
),
"No man really becomes a fool until he stops asking questions"
Charles Proteus Steinmetz

Offline thetrusteeco

  • 257
  • 11
  • Active Participant
  • *****
    • The Trustee Co.
Fix 36: .dm Domains
« Reply #77 on: August 05, 2013, 04:46:02 AM »
To get .dm (Dominica) domains working in HostBill:

UNDER:
Code: [Select]
'.dk' => Array(
'server' => 'whois.dk-hostmaster.dk',
'available' => 'No entries found'
),

ADD:
Code: [Select]
'.dm' => Array(
'server' => 'whois.nic.dm',
'available' => 'not found...'
),
"No man really becomes a fool until he stops asking questions"
Charles Proteus Steinmetz

Offline thetrusteeco

  • 257
  • 11
  • Active Participant
  • *****
    • The Trustee Co.
Fix 37: .co.pt and .lta.pt SLDs
« Reply #78 on: August 07, 2013, 03:11:40 AM »
If you want add support for the .co.pt and .lta.pt SLD, do the following:

IN:

/includes/extend/whois/whois.php

UNDER:
Code: [Select]
'.pt' => Array(
'server' => 'whois.dns.pt',
'available' => 'no match'
),

ADD:
Code: [Select]
'.co.pt' => Array(
'server' => 'whois.co.pt',
'available' => 'no match'
),
'.lta.pt' => Array(
'server' => 'whois.co.pt',
'available' => 'no match'
),
"No man really becomes a fool until he stops asking questions"
Charles Proteus Steinmetz

Offline thetrusteeco

  • 257
  • 11
  • Active Participant
  • *****
    • The Trustee Co.
Fix 38: .ls domains
« Reply #79 on: August 10, 2013, 03:17:30 AM »
If you want add support for the .ls (Lesotho) TLD, do the following:

IN:

/includes/extend/whois/whois.php

UNDER:
Code: [Select]
'.lk' => Array(
'server' => 'whois.nic.lk',
'available' => 'This Domain is not available in our whois database'
),

ADD:
Code: [Select]
'.ls' => Array(
'server' => 'http://www.co.ls/co.asp?CT_DNS_NAME=',
'available' => 'No records returned.'
),
"No man really becomes a fool until he stops asking questions"
Charles Proteus Steinmetz

Offline AzeDK

  • 32
  • 1
  • Active Participant
  • **
Re: Supplied TLD is incorrect
« Reply #80 on: May 02, 2014, 11:49:35 AM »
Hi,

Thinks its odd no one added the new TLD's yet, so here is my contribution for .link :)

UNDER:
Code: [Select]
    '.la' => Array

        (

        'server' => 'whois.nic.la',

        'available' => 'NOT FOUND'

    ),

PUT

Code: [Select]
    '.link' => array(

        'server' => 'whois.uniregistry.net',

        'available' => 'is available for registration'

    )

Offline phoenixlzx

  • 2
  • 0
  • New Member
  • *
Re: Supplied TLD is incorrect
« Reply #81 on: August 31, 2014, 08:48:33 PM »
Hello,

Thanks for the sharing, I created a Github repository for this file:
https://github.com/phoenixlzx/hostbill-whois

Added all patches in this post and some others. :-)

Offline AzeDK

  • 32
  • 1
  • Active Participant
  • **
Re: Supplied TLD is incorrect
« Reply #82 on: September 01, 2014, 04:25:20 AM »
Nice work :) But Hostbill added all new major TLD's some weeks ago in an update.

Offline phoenixlzx

  • 2
  • 0
  • New Member
  • *
Re: Supplied TLD is incorrect
« Reply #83 on: September 02, 2014, 10:59:26 AM »
Well I downloaded the latest version but still got the file I previously got.

They added new TLDs, but not enough. Such as `.moe` isnt exist in this file. I added these to my file in the repo.

Offline BRJP

  • 543
  • 14
  • Community Managers
  • Active Participant
  • *****
    • SaneChoice Limited
Re: Supplied TLD is incorrect
« Reply #84 on: April 01, 2015, 06:09:35 PM »
Dear All,

I am having some issues adding some domains.  For example:

.Technology
.Tech
.London
.Wales
.cymru

I understand these can be added in the whois.php file but how do I find the right look-up register for each one? 

For example, I add the below line in the whois.php and I get a message (on the Domain Registration ordering screen)  Domain ss.wales NOT AVAILABLE

'.wales' => array( 'server'=>'whois.nic.wales', 'available'=>'Not Registered'),

Any ideas?  Am I missing something else?

Thanks in advance.
Kind regards,
Bradley Porter
--------------------
Find out more about SaneChoice Services at: https://www.sanechoice.com/

Offline tallship

  • 619
  • 19
  • Active Participant
  • *****
  • Manager Network Services
    • Skype - tallship
    • Business Internet and Telephony since 1985.
Re: Supplied TLD is incorrect
« Reply #85 on: August 10, 2019, 07:24:49 PM »
Just thought I'd pop this in here for historical reference:
https://github.com/phoenixlzx/hostbill-whois

.
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.

Offline Factor

  • 67
  • 4
  • Active Participant
  • ***
  • Welcome to reality wish you could stay longer..
Re: Supplied TLD is incorrect
« Reply #86 on: October 01, 2019, 05:08:23 PM »
There is a module called Whois Servers which allows you to set whois server on each tld if needed.  It also show which TLDs you sell as products and which ones you don't.
Thanks,
The Factor