Apache Perl/PHP/proxy DNS lookup failures

Brian Manning elspicyjack at gmail.com
Mon Dec 20 19:32:15 GMT 2010

On Mon, Dec 20, 2010 at 6:52 AM, Bob MacCallum <uncoolbob at gmail.com> wrote:
> We (non-profit bioinformatics site maintainers) are seeing regular
> intermittent DNS lookup failures from mod_perl, php and mod_proxy.  Once the
> error appears it keeps occurring until you restart apache, even though on
> the commandline the hosts can be looked up and contacted fine (e.g. with
> ping).  We've googled the error messages many times, and we're not the first
> to experience this [1,2] - for many it seems to happen when DHCP leases are
> renewed on home ADSL connections, and they are happy to restart Apache.
> Looking at our resolv.conf timestamps, however, DHCP renewal doesn't seem to
> be the problem.

Just curious, why do you need to do DNS lookups?  If it's for logs,
most log processing tools will do hostname lookups for you when they
process your logs.



More information about the london.pm mailing list