RE: [squid-users] disable-internal-dns not working on 2.6.18

From: Joseph Jamieson <>
Date: Thu, 20 Nov 2008 11:50:48 -0500

Hi, thanks for the response.

Indeed, there's apparently a *lot* of old, bad info out there.

I'll follow the doc you linked and hopefully I'll be good to go!


-----Original Message-----
From: Amos Jeffries []
Sent: Thursday, November 20, 2008 7:37 AM
To: Joseph Jamieson
Subject: Re: [squid-users] disable-internal-dns not working on 2.6.18

Joseph Jamieson wrote:
> Hello,
> I am trying to set up a Squid reverse proxy server in order to direct different web addresses to different servers. The caching function is just an added bonus.
> As I understand it, I need to use --disable-internal-dns build option to do this, and put the various host names in /etc/hosts.

No. Just set /etc/hosts. Squid loads it as a fixed set of records always
preferred over remote lookups.

> This is an Ubuntu box and I've downloaded all of the packages necessary to build squid, and it does build correctly. I added the --disable-internal-dns option into debian/rules, built binary packages, and installed them.

Try "apt-get install squid". No building necessary.
Current Squid by default has all the necessary components to be a

<snip dnsserver helper troubles>
> Any ideas? I'd love to get this up and running. Squid 2.6's reverse proxy looks like it's going to be a lot easier to manage than older versions.

It is, unfortunately you seem to have come across some of the docs for
obsolete Squid versions that ruined your experience so far.

In general Squid does not need to perform any DNS to act as a reverse-proxy.

Install the Ubuntu squid release and take a read of this page for the
(particularly the part 'How Do I Set It Up')

NP: The demo config does not involve DNS. URL domain name in "dstdomain"
ACL and and IP on the "cache_peer <IP> 80 0 ..." lines make it work
without needing to check destination IP.


Please be using
   Current Stable Squid 2.7.STABLE5 or 3.0.STABLE10
   Current Beta Squid
Received on Thu Nov 20 2008 - 16:51:26 MST

This archive was generated by hypermail 2.2.0 : Thu Nov 20 2008 - 12:00:03 MST