Mega Code Archive

 
Categories / Php / DNS
 

Use dns_get_record() to get the DNS information associated with the hostname www php net

<?php  $record = dns_get_record("www.php.net");  print_r($record);  ?>