Ulti Clocks content

How to find a Whois Server response for automated lookup

JOOMLABOTTOM sand 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

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

Jeu

22

Oct

How to find a Whois Server response for automated lookup

  • 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;
 


Add this page to your favorite Social Bookmarking websites
Digg! Reddit! Del.icio.us! Mixx! Free and Open Source Software News Google! Live! Facebook! Slashdot! Technorati! StumbleUpon! Spurl! Newsvine! Furl! Fark! Yahoo! Netvouz! Mister-Wong! RawSugar! Ma.gnolia! Squidoo! DZone! Swik!
LAST_UPDATED2 Read : 3306 times
 

Add your comment

BoldItalicUnderlineStrikethroughSubscriptSuperscriptEmailImageHyperlinkOrdered listUnordered listQuoteCodeHyperlink to the Article by its id
Very HappySmileWinkSadSurprisedShockedConfusedCoolLaughingMadRazzEmbarrassedCrying or Very SadEvil or Very MadTwisted EvilRolling EyesExclamationQuestionIdeaArrowNeutralMr. GreenGeekUber Geek
Your name:
Titre:
Comment:

Latest Articles

Paypal Donation

If you use this module on your site please donate a small amount.
Any donation amount appreciated.

VM Live Product Search

Recommended Reading

For those interested in extending there knowledge of Joomla! & VirtueMart Packt Publishing has an excellent range of help & how to books.
Listed below are some I can recommend.
Simply click on the images to be taken directly to their web shop.

Learning Joomla! 1.5 Extension Development Learning Joomla! 1.5 Extension Development
by Joseph L. LeBlanc.
Read the review
Joomla! E-Commerce with VirtueMart Joomla! E-Commerce with VirtueMart
by Suhreed Sarkar.
Read the review
Joomla! Web Security Joomla! Web Security
by Tom Canavan.

Mastering Joomla! 1.5 Extension and Framework Development Mastering Joomla! 1.5 Extension and Framework Development
by James Kennard.

Joomla! Template Design: Create your own professional-quality templates with this fast, friendly guide Joomla! Template Design: Create your own professional-quality templates with this fast, friendly guide
by Tessa Blakeley Silver.

JOOMLABOTTOM



How to find a Whois Server response for automated lookup



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