Re: [squid-users] Squid using a different DNS server

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Tue, 26 Mar 2002 03:58:23 +0100

Make sure you list your private DNS server in /etc/resolv.conf, or none
at all and instead specify DNS servers in squid.conf.

Alternatively, rebuild your Squid with --disable-internal-dns, and list
the domains in /etc/hosts instead of a private DNS zone.

Regards
Henrik Nordström
Squid Developer

bdogg wrote:
>
> Hello,
>
> I have been reading, searching, and praying for an answer to this
> question. I have an ipmasq that is connected to the attbi.com network
> and uses their DNS servers. I want to run multiple webservers behind
> this ipmasq and so I am setting up the current setup.
>
> I have a domain (domain.com for example) and all wildcards that DNS to
> the external address of my ipmasq. I forward port 80 of my external
> interface to port 1080, where squid is running. Squid should then use
> a DNS server running on the localhost:53 to DNS a URL like
> webserver1.domain.com to 192.168.0.2 and webserver2.domain.com to
> 192.168.0.3, and return the http info to the browser on the internet
> which requested the info.
>
> My question is, how can I set my squid to use the localhost DNS
> servers, rather than the attbi.com DNS servers listed in netconf?
Received on Mon Mar 25 2002 - 20:20:55 MST

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