Closed Thread
Results 1 to 8 of 8

Thread: Problem with whois.co.za

  1. Join Date
    May 2006
    Posts
    7

    Problem with whois.co.za

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

  2. Join Date
    Aug 2004
    Posts
    781

    Re: Problem with whois.co.za

    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):
    Code:
    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.

  3. Join Date
    May 2006
    Posts
    7

    Re: Problem with whois.co.za

    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



  4. Join Date
    May 2006
    Posts
    7

    Re: Problem with whois.co.za

    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)


  5. Join Date
    Aug 2004
    Posts
    781

    Re: Problem with whois.co.za

    Quote Originally Posted by DotKhoza
    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):
    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
    Custom Query Address & Port: rwhois.org.za:80/cgi-bin/rwhois

  6. Join Date
    May 2006
    Posts
    7

    Re: Problem with whois.co.za

    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

  7. Join Date
    May 2007
    Posts
    10

    Re: Problem with whois.co.za

    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!

  8. Join Date
    Aug 2004
    Posts
    781

    Re: Problem with whois.co.za

    You are hijacking this thread. Please create a new one.

Closed Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts