Preferred Member from GB
joined:July 25, 2005
Just a simple script designed to return nameserver info. In 99.9% cases it works ok, only occasionally it returns an empty array.
$nsresult = dns_get_record("example.com", DNS_NS);
if I print the result for the whole $nsresult variable of a faulty domain, I get this on the screen:
Array ( )
When I look up the domain's nameservers via Whois and try to ping them, they will respond, so the nameservers aren't down. Is it some sort of a misconfiguration on the nameserver? Is there another way to make them respond?