Temporary failure in name resolution: Cannot resolve host name...

Temporary failure in name resolution: Cannot resolve host name...

am 12.07.2006 05:31:21 von CitizenSwift

Hi folks,

Apache ran happily for months, then I had to shut down the server
overnight whilst some electrical testing was undertaken. I booted in
the morning and everything seemed great except a handful of the virtual
hosts aren't working. I get this error...

[Wed Jul 12 13:23:00 2006] [error] (EAI 3)Temporary failure in name
resolution: Cannot resolve host name www.thesite.com --- ignoring!

They all worked before, and some of them still do. What's gone wrong!?

Thanks in advance for any help or advice.

Chen.

Re: Temporary failure in name resolution: Cannot resolve host name...

am 12.07.2006 08:16:00 von pwadas

Does www.thesite.com resolve ? Make sure your
dns is up and running, check /etc/resolv.conf, and
try
host www.thesite.com
and/or
nslookup www.thesite.com
or simply
ping www.thesite.com (no matter whether you block
pings or not, the matter is whether the name will be resolved
for address

If it doesn't resolve - this is your problem. If it does -
check apache config, you can try disable
some parameters like HostLookup or similar
?
DT

Re: Temporary failure in name resolution: Cannot resolve host name...

am 13.07.2006 01:30:14 von CitizenSwift

Thankyou Piotr,

Turned out that DNS was failing due to an internal firewall problem.

Turned of the iptables and everything is working fine again.

Chen.

Piotr Wadas :: DT wrote:
> Does www.thesite.com resolve ? Make sure your
> dns is up and running, check /etc/resolv.conf, and
> try
> host www.thesite.com
> and/or
> nslookup www.thesite.com
> or simply
> ping www.thesite.com (no matter whether you block
> pings or not, the matter is whether the name will be resolved
> for address
>
> If it doesn't resolve - this is your problem. If it does -
> check apache config, you can try disable
> some parameters like HostLookup or similar
> ?
> DT