by

Bulk Domain Availability Checker Script | webmaster Script

Bulk Domain Availability Checker Script. Pure php based domain availability checker script. This script can check domain availability without whois lookup. And supports all TLDs over internet

How it works?

Each registered domain has its own ns (name server) entry. Which can be checked using dns_get_record() function. In this script we check whether queried domain has it ns entry or not if we found it then it is not available.

PHP function to check domain availability

function domain_availability($domains){
foreach ($domains as $domain) 
{
    $ns=  @dns_get_record($domain,DNS_NS);
    if(count($ns))
    {
    $rs[$domain]=0;
    }
    else
    {
    $rs[$domain]=1;
    }
}
return $rs;
}

Uses

array domain_availability(array $domainlist)

function takes array of domains as parameter and returns array which has domain name as key and value ( 1 for available and 0 for not available )

Example

$domains=array("google.com","hsghjgsy.org","jsdhjs.es","aajjks.eu","sjdjsd.in");
$rs=domain_availability($domains);
print_r($rs);

Output


Array
(
[google.com] => 0
[hsghjgsy.org] => 1
[jsdhjs.es] => 1
[aajjks.eu] => 1
[sjdjsd.in] => 1
)

Bulk Domain Availability Checker Script

Comment

Leave a Reply

Your email address will not be published.

5 comments

  1. Are you planning to send out thousands or even millions of messages to
    Instagram users? Do you have an offer or sale you’d like to send to
    a targeted group of people that can yield the desired results for your business?

    GetBoost is proud to provide the most effective MASS DM solution anyplace around the globe.
    Join the thousands of clients who have generated
    tons of leads, sales, and even paying customers through GetBoost.

    * Lowest prices
    * Fast delivery
    * You can send up to 1 million messages per day!

    Instagram Promotion with MASS DM Works!
    Visit https://bit.ly/massdm1 now and click on the bio link to order or more information.

    Secured payment options:
    Paypal Credit Card Crypto

  2. It’s perfect time too make some plans for the long
    run and it’s time to be happy. I’ve read this put up and if
    I may just I desire to recommend you some
    fascinating things or suggestions. Perhaps you could write next articles
    regarding this article. I desire to read more iasues about it!

  3. Do you have a spam issue on this website; I also am
    a blogger, and I wanted to know your situation; many of us have developed some nice methods, and we are
    looking to trade methods with others, why not shoot me an e-mail if interested.