Well till where i can understand the question you mean to say you want to find a domain is registered or not for a submitted domain that someone has requested .
If you dont know PHP has it inbuilt to check the DNS records.
There are many functions in PHP related to DNS and stuff like dns_get_record() function, dns_get_mx() function, and dns_check_record() function
Here is the script using dns_get_record() function:
CODE
<?php
/* Request "ANY" record for php.net,
and create $authns and $addtl arrays
containing list of name servers and
any additional records which go with
them */
$result = dns_get_record("php.net", DNS_ANY, $authns, $addtl);
echo "Result = ";
print_r($result);
echo "Auth NS = ";
print_r($authns);
echo "Additional = ";
print_r($addtl);
?>
Hope this helps.
Have a good day.
Reply