Not sure what's causing this, but you could try running a caching
nameserver on the box and just point squid and resolv.conf at that. I'd
opt for dnscache from DJBdns despite the fact that DJB wrote it!
Fergus.
Niall O Broin wrote:
>> Another squid question . . .
>> Squid 2.3 seems to go into space on me on a regular basis i.e. I'll dial up
> and try to connect to a site, get the message in the browser saying
> www.whatever.com connected (which it generates when it contacts the proxy)
> and then - nada, niente, rien, until I stop and restart squid. Now I know
> that 2.3 does DNS lookups itself rather than having a DNS helper and I
> suspect it's something to do with this. I normally have an empty
> /etc/resolv.conf which gets created when my ppp link comes up but squid
> wouldn't start in that scenario - I solved that by putting a dns_nameservers
> line in squid.conf. But this business of having to restart squid when I
> connect is a bit of a PITA. Does anyone have an idea what might be causing
> this, and how I can fix it ?
>> Regards,
>> Niall
>> P.S. I had started squid earlier and I now just connected for the first time
> today, but I had no problems connecting to some web sites. Then I shut down
> my connection, and reconnected, and it again worked. So it's not as simple
> as dying when the connection goes down. I'll try Fergus' suggestion of
> switching to 2.4 but if there are any other suggestions . . .
>> --
> Irish Linux Users' Group: ilug at linux.ie>http://www.linux.ie/mailman/listinfo/ilug for (un)subscription information.
> List maintainer: listmaster at linux.ie
--
Eolach - Ireland's leading Open Source consultancy
email: info at eolach.com web: http://www.eolach.com
tel: (+353) 1 874 0510 fax: (+353) 1 874 0515
newsletter: http://www.eolach.com/open-source-news
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!