checkdnsrr.php : checkdnsrr « Network « PHP






checkdnsrr.php

 
<?php
   $recordexists = checkdnsrr("example.com", "ANY");
   if ($recordexists) echo "The domain name has been taken. Sorry!";
   else echo "The domain name is available!";
?>
  
  








Related examples in the same category

1.checkdnsrr-2.php