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

From: bdogg <bdogg@dont-contact.us>
Date: Wed, 6 Mar 2002 03:06:17 -0700

Tried...nothing, no change...

I will try again though. I know though it's not a fault of my DNS
server running on localhost, because I can set it as the DNS server for
my computer, and DNS webserver1.example.com to 192.168.0.2 and
webserver2.example.com to 192.168.0.3.

-----Original Message-----
From: Adrian Chadd [mailto:adrian@squid-cache.org]
Sent: Wednesday, March 06, 2002 3:02 AM
To: bdogg
Cc: squid-users@squid-cache.org
Subject: Re: [squid-users] Squid using a different DNS server

On Wed, Mar 06, 2002, 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?

Try this:
# TAG: dns_nameservers
# Use this if you want to specify a list of DNS name servers
# (IP addresses) to use instead of those given in your
# /etc/resolv.conf file.
#
# Example: dns_nameservers 10.0.0.1 192.172.0.4
#
#Default:
# none

Adrian
Received on Wed Mar 06 2002 - 03:05:23 MST

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