go to bug id or search bugs for
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:
Add a Patch
Add a Pull Request
Please be more specific, which OS does this happen on?
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.
I have this problem too:
Warning: dns_get_record() [function.dns-get-record]: res_nsend() failed in .....
Example problematic domains:
PHP Version: 5.2.6-1+lenny9 with Suhosin-Patch 0.9.6.2 (cli) (built: Aug 4 2010
OS: Debian 5.0.6
even if I make an Exception
this error come !!
the only way to hide is just close the reporting from php.ini :(
using error suppression (@dns_get_record('example.com')) works, even it doesn't solve the problem...
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.
What feedback were you expecting?
Fixed since 5.3+