Fetches DNS records associated with a hostname : DNS Functions « DNS « PHP






Fetches DNS records associated with a hostname

 
<?php

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








Related examples in the same category

1.DNS Lookup Functions
2.DNS Record Types and Their Meanings
3.Using the dns_check_record() Function
4.Performing DNS Lookups