Re: [squid-users] How can I prevent squid from checking dns server at startup?

From: Jan Van der Veken <jvanderveken@dont-contact.us>
Date: Mon, 30 Jul 2001 09:32:05 +0200

Joao Clemente wrote:
>
> Hello.
> I've been having the following problem:
> I have a dialup/NAT machine on wich I want to set squid to do proxy for a
> local network...
> When I boot the machine (no connection to the internet as it ias a dial up
> connection) I startup squid
> from one of the boot scripts..
> The problem is that ( I think ) squid tries to do some dns queries to do
> some checking and then I have in my logs:
> <snip>
> So, what can I place and where to prevent this?
> I'm using squid 2.4 stable 1
>
> (I'm thinking that If I knew WHAT is squid trying to lookup I could place
> that in my /etc/resolv.conf... what do you think?)

The defaults are as follows (from squid.conf):
#Default:
# dns_testnames netscape.com internic.net nlanr.net microsoft.com

You can disable the checks with the -D startup option of squid.

Jan Van der Veken
Received on Mon Jul 30 2001 - 01:32:09 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:01:20 MST