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

From: Dave Mangot <mangot@dont-contact.us>
Date: Tue, 15 Mar 2005 17:08:40 -0800

Hi.

  I've setup a squid proxy that does no caching. It just spans between two
networks and basically allows us to have visibility into the webservers in
the network that we don't have direct access to.

The problem is that there is no dns in the remote network. It is a test
network and only has a few webservers that have all the entries they need
in /etc/hosts.

For example, we have a server in there called www.example.com.

After that server is totally fine, we are going to roll it out as the real
www.example.com.

We'd like to be able to point our browsers at the squid proxy and look
at the prototype www.example.com by typing www.example.com into
our browsers.

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.

Help?

[our network] ---- [ squid proxy] ---- [prototype network]
          |
[real www.example.com]

                                                -Dave

-- 
Dave Mangot           mangot@goawayspammers.dhapdigital.com
DHAP Digital, Inc.    http://www.dhapdigital.com/
San Francisco, CA     +1.415.962.4891
Received on Tue Mar 15 2005 - 18:07:59 MST

This archive was generated by hypermail pre-2.1.9 : Fri Apr 01 2005 - 12:00:02 MST