PHP/Network/dns get record
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>