View Full Version : Problem with whois.co.za
DotKhoza
05-02-2006, 08:11 PM
Hi,
I have a problem validating the whois.co.za Nameserver.
I always got a FAILED status. I tried different keywords, to no avail.
When I run a search for an available domain with a co.za extension, It tells me that the Domain is already registered.
what am I doing wrong? Is the whois.co.za Nameserver supported at all?
I tried other nameservers and they work okay. So Is there anything wrong with .co.za, that prevents it from being checked by this script?
Please Help!!
P.S Excellent script!!!!
Patrick
05-02-2006, 11:26 PM
Do you even know if whois.co.za is the nameserver for the co.za tld?
All the same, I visited the website and found that they have a whois search box on their page. Since EP-Dev Whois 2.2x, the script supports abnormal whois lookups, such as going through a website script.
I was able to successfully create a co.za nameserver entry in the admin panel using the new advanced features of the EP-Dev Whois Script. This may or may not be against the terms of service of http://whois.co.za, so be sure to check their site:
1. Add a new nameserver whois.co.za
2. Edit the whois.co.za nameserver with the following:
Keyword/Limit Keyword: No Matches
Query Format / Limit Query Format: [[DOMAIN]]
Advanced Settings:
Custom Query / Limit Custom Query (all one line):
GET http://whois.co.za/cgi-bin/whois.sh?Domain=[[QUERY]] HTTP/1.0\r\nHost: whois.co.za\r\n\r\n
Custom Query Address & Port: whois.co.za:80/cgi-bin/whois.sh
The results that are returned will likely not be pretty (they will be full of HTML), but everything else should work as expected.
DotKhoza
05-03-2006, 04:36 AM
I made the changes as you suggested and the result was:
1. The NS Validator in the admin panel still returns a FAILED status and the following HTML:
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<HTML><HEAD>
<TITLE>501 Method Not Implemented</TITLE>
</HEAD><BODY>
<H1>Method Not Implemented</H1>
246dc8l12m to /index.shtml not supported.<P>
Invalid method in request 246dc8l12m<P>
<HR>
<ADDRESS>Apache/1.3.27 Server at co.za Port 80</ADDRESS>
</BODY></HTML>
Why is this?
2. The Results of the domain search are now reliable. I was able to search for a few domains and I am happy with the result
I also checked co.za's terms of service, and they do not mention anything regarding how you do the searches.
Thanks again for your help.
Again, Excellent script!! And Great support
Well done
DotKhoza
05-03-2006, 06:52 AM
Some feedback:
The NS Validator has now returned:
A PASSED status and:
HTTP/1.1 200 OK
Date: Wed, 03 May 2006 10:48:39 GMT
Server: Apache/1.3.27 (Unix) (Red-Hat/Linux) mod_ssl/2.8.12 OpenSSL/0.9.6b DAV/1.0.3 PHP/4.1.2 mod_perl/1.26
Connection: close
Content-Type: text/html
<html>
<head><title>simple CO.ZA whois server</title></head>
<BODY BGCOLOR="FFFFFF">
<center><H2>The CO.ZA simple whois server</H2></center>
Your query has generated the following reply:-
<p>
<PRE>
Search on 9dnbovj1k9 (.co.za)
Match: No Matches
This domain is available for registration. The first correct application
received and processed for this domain should be successful.
</PRE>
<TABLE WIDTH=480 CELLSPACING=0 CELLPADDING=4 BORDER=0>
<TR>
<TD WIDTH=480 ALIGN=CENTER BGCOLOR=#B6D5E4>
<FORM METHOD=GET ACTION=/cgi-bin/whois.sh>
<FONT FACE=Arial, Helvetica SIZE=2>
<B>Next Query - Domain name</B>
<P>
<FONT SIZE=3><INPUT NAME=Domain SIZE=25 TYPE=TEXT VALUE=9dnbovj1k9>.co.za
</FORM>
</TD>
</TR>
</TABLE>
<p>Please refer to the CO.ZA <a href=http://co.za/contact.shtml>contact</a> details should you have any problems</p>
</body>
</html>
Thanks again
Now I am struggling with org.za, Nameserver:rwhois.org.za. I tried the above principle but it does not work (yet)
Patrick
05-03-2006, 12:56 PM
Now I am struggling with org.za, Nameserver:rwhois.org.za. I tried the above principle but it does not work (yet)
I was able to get it to work without any problems. Again, the concept is the same. However, the rwhois.org.za requires an additional "format" value.
1. Add a new nameserver rwhois.org.za
2. Edit the rwhois.org.za nameserver with the following:
Keyword/Limit Keyword: Domain not registered
Query Format / Limit Query Format: [[DOMAIN]]
Advanced Settings:
Custom Query / Limit Custom Query (all one line):
GET http://rwhois.org.za/cgi-bin/rwhois?domain=[[QUERY]]&format=full HTTP/1.0\r\nHost: rwhois.org.za\r\n\r\n
Custom Query Address & Port: rwhois.org.za:80/cgi-bin/rwhois
DotKhoza
05-03-2006, 04:05 PM
Hey, Patiek!
You are a life saver!
I can now search .org.za accurately as well!
The NS Validator returned a PASSED Status and this report (it also passes a FAILED status for a taken Domain) while earlier it was returning a FAILED status all the time.:
HTTP/1.1 200 OK
Date: Wed, 03 May 2006 19:51:11 GMT
Server: Apache/1.3.26 (Unix)
Connection: close
Content-Type: text/html
<HTML>
<HEAD>
<TITLE>
ORG.ZA rwhois search results - ylmsyokhl8
</TITLE>
</HEAD>
<BODY>
<H3>rwhois search on 'ylmsyokhl8.org.za':</H3>
<PRE>
Domain not registered</PRE>
<TABLE BORDER=1 CELLPADDING=5>
<TR><TD BGCOLOR="#ffeebb">
<B>Search Again</B><BR>
<FORM ACTION="/cgi-bin/rwhois" METHOD=POST>
Show records for<BR>
<INPUT TYPE="text" NAME="domain" SIZE=22 VALUE="ylmsyokhl8"><BR>
in
<SELECT NAME="format">
<OPTION>full
<OPTION>summary
<OPTION>dump
</SELECT>
format.
<INPUT TYPE="SUBMIT" VALUE="Go">
<BR>
</FORM>
</TD>
</TR>
</TABLE>
</BODY>
</HTML>
I had skipped two things earlier that caused it not to work: the "format" value and the question mark after the rwhois in the code
GET http://rwhois.org.za/cgi-bin/rwhois?domain=[[QUERY]]&format=full HTTP/1.0\r\nHost: rwhois.org.za\r\n\r\n
Thanks again
ITboss
05-24-2007, 12:28 PM
Thanks Patiek, this is great! But now I have another challenge for you!
In SA we can also register "za.net" and "za.org". This is a free registrar!
goto: www.za.net
Can you please give me the query strings for those 2 TLD's.
Thanks buddy!
Patrick
05-24-2007, 04:02 PM
You are hijacking this thread. Please create a new one.
Powered by vBulletin™ Version 4.0.0 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.