Use dns_get_record() to get the DNS information associated with the hostname www.php.net. : dns_get_record « DNS « PHP






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); 
?>
  
  








Related examples in the same category

1.Using the dns_get_record() Function