开发者

DNS_GET_RECORD Failing with Register.com Domains

I am using a PHP script using dns开发者_运维技巧_get_record (with DNS_ANY) and it is working fine but, is throwing an error on any domain registered with Register.com.

Warning: dns_get_record() [function.dns-get-record]: res_nsend() failed in...

Any ideas on why this would be? Anyone else had this issue?

EDIT:

Been doing some research and it looks like this may be related. Register.com's servers appear to have issues with IPv6.

Still would love to know if anyone else has had this issue.


I believe it fails on the PTR record, not 100% sure but try this and see if it works.

$dns_record = dns_get_record("somedomain.com", DNS_ALL - DNS_PTR);
var_dump($dns_record);
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜