PHP/Network/dns get record

Материал из Web эксперт
Перейти к: навигация, поиск

dnsgetrecord-2.php

   <source lang="html4strict">

<?php

  $result = dns_get_record("example.ru","DNS_CNAME");
  print_r($result);

?>

 </source>
   
  


dnsgetrecord.php

   <source lang="html4strict">

<?php

  $result = dns_get_record("example.ru");
  print_r($result);

?>

 </source>