Re: [squid-users] Newbie - Resolve hostname to private IP

From: Waitman C. Gobble <waitman@dont-contact.us>
Date: 05 Nov 2002 17:38:28 -0800

ok, i found an article posted by the main man himself (this should be
the help you need):

From: Henrik Nordstrom (hno@hem.passagen.se)
Subject: Re: [squid-users] local hosts file
View: Complete Thread (5 articles)
Original Format
Newsgroups: mailing.unix.squid-users
Date: 2001-03-30 06:01:01 PST

Squid-2.2 uses your OS gethostbyname() call, which in most
configurations reads /etc/hosts before DNS, but can usually be
controlled via /etc/nsswitch.conf or a similar file.

Squid-2.3 defaults to use an internal DNS client implementation, talking
directly to your DNS server.

Squid-2.4 too defaults to using an internal DNS client, but reads
/etc/hosts on startup (I think, or maybe this is only in Squid-2.5?).

If you prefer the old Squid-2.2 method for DNS lookups then Squid-2.3+
can be "downgraded" to the old mechanism by building it with
--disable-internal-dns.

--
Henrik Nordstrom
Squid hacker in need of paid Squid projects
On Tue, 2002-11-05 at 17:28, Waitman C. Gobble wrote:
    Hello!
    
Received on Tue Nov 05 2002 - 18:33:01 MST

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