Re: [squid-users] DNS question - running squid2.5Stable2

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Fri, 4 Jul 2003 08:29:52 +0200

On Thursday 03 July 2003 23.14, Zand, Nooshin wrote:
> Hi,
> 1)
> It seems even though the first DNS entry in /etc/resolv.conf is not
> answering to dns query squid still tries to send the query to it.
> (based on tcpdump data) This causes slowness in web access.
> How can I enforce squid to not send dns query for a some period of
> time to defected DNS server?

Some programming may be required for this.

> 2)
> In squid2.4 I had to disable internal_dns and run dnsserver in
> order to check /etc/host file. It "seems" squid2.5 behaves the
> same. Please advise!

Squid-2.5 reads /etc/hosts or another hosts type file of your choice.
See the hosts_file directive in squid.conf.

Note: the hosts file is only read on startup or reconfigure.

-- 
Donations welcome if you consider my Free Squid support helpful.
https://www.paypal.com/xclick/business=hno%40squid-cache.org
If you need commercial Squid support or cost effective Squid or
firewall appliances please refer to MARA Systems AB, Sweden
http://www.marasystems.com/, info@marasystems.com
Received on Fri Jul 04 2003 - 00:30:05 MDT

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