Bug #51968 [Com]: dns_get_record() [function.dns-get-record]: res_nsend() failed
| From: | b1gag3 at hotmail dot de | Date: | Fri, 07 Oct 2011 11:59:27 +0000 |
| Subject: | Bug #51968 [Com]: dns_get_record() [function.dns-get-record]: res_nsend() failed | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-164135@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=51968&edit=1
ID: 51968
Comment by: b1gag3 at hotmail dot de
Reported by: php at hm2k dot org
Summary: dns_get_record() [function.dns-get-record]:
res_nsend() failed
Status: Feedback
Type: Bug
Package: *Network Functions
PHP Version: 5.3.2
Block user comment: N
Private report: N
New Comment:
using error suppression (@dns_get_record('example.com')) works, even it doesn't solve
the problem...
Previous Comments:
------------------------------------------------------------------------
[2011-09-26 10:04:56] m dot alsemany at gmail dot com
even if I make an Exception
this error come !!
the only way to hide is just close the reporting from php.ini :(
------------------------------------------------------------------------
[2010-10-12 13:57:38] boyan at peychev dot net
Hello,
I have this problem too:
Warning: dns_get_record() [function.dns-get-record]: res_nsend() failed in .....
Example problematic domains:
dns_get_record('gtvip.com.cn', DNS_NS);
dns_get_record('fztuan.tk', DNS_NS);
dns_get_record('forumgeeks.vv.cc', DNS_NS);
dns_get_record('en91.tk', DNS_NS);
dns_get_record('serverdns.ce.ms', DNS_NS);
PHP Version: 5.2.6-1+lenny9 with Suhosin-Patch 0.9.6.2 (cli) (built: Aug 4 2010
03:25:57)
OS: Debian 5.0.6
Regards,
Boyan Peychev
------------------------------------------------------------------------
[2010-06-06 12:32:22] hm2k@php.net
Not Windows. I was testing on CentOS 4 and 5, but based on Google results, I'd say it's
more common across many Linux based servers.
------------------------------------------------------------------------
[2010-06-06 08:30:40] kalle@php.net
Please be more specific, which OS does this happen on?
------------------------------------------------------------------------
[2010-06-01 18:49:43] php at hm2k dot org
Description:
------------
Certain hosts cause the dns_get_record() to fail with the following error:
Warning: dns_get_record() [function.dns-get-record]: res_nsend() failed in dns.php on line 3
A live example of this error is found here:
http://www.easywhois.com/index.php?mode=dnsinfo&domain=jjpny.com
Test script:
---------------
<?php
print_r(dns_get_record('jjpny.com'));
?>
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=51968&edit=1