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/, [EMAIL PROTECTED]
