web design, England, Britain, UK, belgium
 

How to find a Whois Server response for automated lookup - Joomla & VirtueMart Tips & How To's

How to find a Whois Server Response for no existing Domain Name as used in automated Domain name availability lookup.

Home whois server response

Thu

22

Oct

  • Joomla 1.5 + 1.0

When I was installing the new Whois Lookup Module I noticed a real lack of documentation on how to discover the correct server response from the various Whois servers .
I set out below how to do this.



Joomla Whois Module I'm very happy with the hacked around Max's Whois script but noticed a lot of the Server Responses are out of date. These are the response that the Whois Server returns when no entry for the domain name is found.
This varies from server to server, rumour has it they don't like automated enquiries and they change the response to break the lookup scripts.

Firstly you need to find the responsible Whois server for your chosen Top Level Domain, .com, .eu etc. I've made an Excel sheet that is hopefully up to date. Included is the Server Response for no domain found.
You can download it here --> Whois Lookup Servers & Responses



This file will of course become out of date as they change the responses so you can find out the correct response by doing a command line lookup and see the response.
download this small executable "Whois v1.01" from www.technet.microsoft.com and unzip it in a folder. Open a command window in that folder or change to it and type - whois nosuchdomainname.tld whois.server -

Joomla Whois Module cmd

and hit Enter

Joomla Whois Module cmd

You will receive the response for no domain, remember it is case dependant as well. You can enter this in your script as below.

 
  $this->serverList[7]['top']      = 'eu';
 
  $this->serverList[7]['server']   = 'whois.eu';
 
  $this->serverList[7]['response'] = 'AVAILABLE';
 
  $this->serverList[7]['check']    = false;
 
Last Updated on Thursday, 22 October 2009 10:59
 



How to find a Whois Server response for automated lookup|Joomla & VirtueMart Tips & How To's



How to find a Whois Server Response for no existing Domain Name as used in automated Domain name availability lookup.


whois, server, response, serverlist, domain, lookup, date, change, responses, noticed, correct, command, download, script, folder, servers, enter, check, executable, line, small, case, available, doing, remember, included, file, false, course, technet, hopefully, dependant, type, nosuchdomainname, tld, window, open, hit, microsoft, unzip

|

We use cookies to improve our website and your experience when using it. Cookies used for the essential operation of the site have already been set.
To find out more about the cookies we use and how to delete them, see our privacy policy.

I accept cookies from this site.