PHP/Network/dns get record
dnsgetrecord-2.php
<?php
$result = dns_get_record("example.ru","DNS_CNAME");
print_r($result);
?>
dnsgetrecord.php
<?php
$result = dns_get_record("example.ru");
print_r($result);
?>
<?php
$result = dns_get_record("example.ru","DNS_CNAME");
print_r($result);
?>
<?php
$result = dns_get_record("example.ru");
print_r($result);
?>