[squid-users] WARNING: DNS lookup for 'example.com' failed!
squid3 at treenet.co.nz
Fri Sep 29 15:56:59 UTC 2017
On 30/09/17 04:32, chiasa.men wrote:
> I have to restart squid after each reboot to get it working. I think that is
> because squid starts before systemd has started the network and so the dns
> lookups fail:
> journalctl says:
> "squid.service: Unit cannot be reloaded because it is inactive."
So systemd thinks Squid is disabled.
> cache.log contains:
> "WARNING: DNS lookup for 'example.com' failed!"
> The problems seems to be the squid.service file which I took from ubuntus
> squid package:
Nod, quite probably. Squid-3 does not support systemd.
The gory details of that are outlined in:
More information about the squid-users