<!--

This page is copyright 2007 Suso Technology Services, Inc.
It is hereby released under the terms of the GNU General Public License v2.

-->
<HTML>
<HEAD>
<TITLE>Suso's safe domain availability checker</TITLE>
<STYLE>
.lookupresults {
    border: #888888 1px solid;
    padding: 8px;
    background-color: #FFFFFF;
    width: 75%;
    margin: 20px;
}
.taken {
    color: red;
}
.available {
    color: #00BB00;
}
.error {
    background-color: red;
    color: white;
    border: #888888 1px solid;
    padding: 8px;
    width: 90%;
    margin: 20px;
}
</STYLE>
</HEAD>
<BODY BGCOLOR="ffcd8d">
<H2>Suso's safe domain availability checker</H2>
<P>A safer place to check for domain availability. A safe domain search. Please
only use this website if you want to check if a domain is available.  Do not
use other websites unless they offer some guarantee that they do not share
their domain lookup logs with 3rd parties.</P>

<?php
if ($_POST['domain']) { 
    
$domain $_POST['domain'];
    if (
ereg("[A-Za-z0-9]+[A-Za-z0-9-]*[A-Za-z0-9]+\.[a-z]{2,10}"$domain)) {
        
$query_array dns_get_record($domainDNS_NS);
        if (
$query_array) {
 
            print 
"<DIV CLASS='lookupresults'><P><FONT CLASS='taken'>Sorry.</FONT> The domain <B>$domain</B> is already registered and is pointing to the following DNS servers:<BR><UL>";

            foreach (
array_keys($query_array) AS $record_number) {
                
$this_dns_server $query_array[$record_number]['target'];
                print 
"<LI>$this_dns_server\n";
            }
            print 
"</UL></P></DIV>";

        } else {
            print 
"<DIV CLASS='lookupresults'><P><FONT CLASS='available'>Congratulations!</FONT> The domain <B>$domain</B> appears to be available.</P>
                    <P>To register this domain, we'd recommend the following registrars, which we've found to be reliable and decently priced:
                    <UL>
                        <LI><A HREF='http://www.directnic.com/'>DirectNic</A>
                        <LI><A HREF='http://www.omnis.com/'>Omnis</A>
                        <LI><A HREF='http://www.suso.com/'>Suso webhosting</A> accounts also come with 1 free domain that we will register for you.
                    </UL>
                    </DIV>"
;
        }
    } else {
        print 
"<DIV CLASS='error'><P>ERROR: Please use a valid domain format of alphanumeric characters, hyphens, a period and a standard TLD.</P></DIV>";
    }
}
?>
<P>
<FORM ACTION="search.php" METHOD="POST">
Enter a domain name to check:<BR>
<INPUT TYPE="text" NAME="domain" SIZE="40" MAXLENGTH="255" VALUE="<?php print $domain?>">
<INPUT TYPE="submit" NAME="submitbutton" VALUE="Check Availability"></P>

<P>Welcome to Suso's safer domain availability checker.  This page was created
to provide everyone with a safer way to check for domain availability without
fear that the query itself will be recorded and used to snatch the domain from
you before you can register it.</P>

<P>This page is provided to the public for free as a coutesy of <A HREF="http://www.suso.com/">Suso webhosting</A>.

<HR>

<P>This web application does the following in order to ensure that your domain lookups are kept as private as possible:

<UL>
    <LI>Use POST operation instead of GET to prevent the query string from being logged by Apache
    <LI>The domains that you look up are not stored in any type of database, file or other medium through this script.
    <LI>The queries from this application are not being logged by Suso's nameservers. (See below for information about the Internet's root DNS servers)
    <LI>No 3rd party is involved in the creation of this page.
    <LI>We do not sell any information that is gathered from this page.
</UL>

<P>If you want more confidence, you are welcome to see <A
HREF="search.phps">the PHP source code</A> for this page.  The
saferdomainlookup.phps file is a symlink to the actual code file.  While
unfortunately we can't prove to you that this symlink is there or that we
haven't just faked all this. If you are that paranoid, then your best choice is
to do your own DNS and Whois queries:</P>

<OL>
    <LI>Open up a terminal window or command line application.
    <LI>Run <B>nslookup -type=ns domain.com</B> and if it returns a list of nameservers, then the domain is not available.
    <LI>If you have Linux, *BSD or Mac OS X, you can run <B>whois domain.com</B>.
</OL>

<P>There is one major flaw in this application that we can't get around.  It still needs to use the root name servers on the Internet in order to run the query.
As of October of 2007, there was rumour that Verisign might be selling the 'no domain' queries to the root server to domain squaters and domain tasters.  We consider
this a huge violation of privacy because if this were true, there would be no way to not have your domain queries logged.</P>
</BODY>
</HTML>