PHP operations executed in the scope of some applications fail with error:
name lookup timed out
- DNS on the webserver is configured properly and the hostname the application tried to resolve resolves OK locally.
Incorrect DNS servers were specified in
/etc/resolv.conf recently. Apache cached them and kept using it despite the nameserves were updated in
Restart Apache service to make it re read
/etc/resolv.conf and be using new nameservers.