Search squid archive

Re: [squid-users] no dnsserver only /etc/hosts?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 15 Mar 2005, Dave Mangot wrote:

Is this possible? Squid keeps looking up the real www.example.com and
trying to connect to that. We want it to just look in it's /etc/hosts file and
ignore DNS completely. It should only resolve from /etc/hosts.

Squid by default reads /etc/hosts on startup, and any entries found there will override DNS.


If you want to disable the use of DNS entirely then build Squid with --disable-internal-dns and then configure your server without DNS (/etc/nsswitch.conf on most OS:es)

Regards
Henrik

[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux