Re: [squid-users] hosts_file with domains instead of individual hosts

From: Scott Briggs <scott.br@dont-contact.us>
Date: Mon, 19 Mar 2007 11:54:42 +0100

Matus, thanks for the response. I'm using a seperate hosts file just
for squid (/etc/squid/hosts), so can squid's internal DNS recognize a
domain instead of an individual host?

Scott

On 3/19/07, Matus UHLAR - fantomas <uhlar@fantomas.sk> wrote:
> On 19.03.07 04:06, Scott Briggs wrote:
> > Hi, I'm using squid as a reverse proxy for multiple domains and I was
> > wondering if there's a way in the hosts_file to specify a domain
> > instead of individual hosts.
>
> no, at least not with /etc/hosts.
>
> > For example, I'd like to be able to say something equivalent to
> > *.test.com in the hosts_file (not /etc/hosts) instead of www.test.com,
> > mail.test.com, blog.test.com, etc.
>
> wouldn't be specifying destination IP range easier?
>
> > Is this possible? I read somewhere that it was but can't find that
> > piece of information anymore. Thanks in advance.
>
> Never heard about that. DNS server could do that but I think it's not
> important, see above.
>
> --
> Matus UHLAR - fantomas, uhlar@fantomas.sk ; http://www.fantomas.sk/
> Warning: I wish NOT to receive e-mail advertising to this address.
> Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
> How does cat play with mouse? cat /dev/mouse
>
Received on Mon Mar 19 2007 - 05:02:08 MDT

This archive was generated by hypermail pre-2.1.9 : Sat Mar 31 2007 - 13:00:02 MDT