I had a script in one of my websites that fetched DNS Records using dns_get_record()
PHP function. But it's about 2 week that this function returns an empty array. I wrote a test script like below:
<?php
$result = dns_get_record("php.net");
if (count($result)) {
print_r($result);
} else {
echo 'Empty Array';
}
?>
It works well on my local machine, but when I test it on my server, it returns Empty Array as result.
What's the matter friends ?
Clients need dns and dhcp or hard coded fill in the blanks.
Servers often sit blind to anything just responding to their ip addr directed traffic