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

From: Matus UHLAR - fantomas <uhlar@dont-contact.us>
Date: Mon, 19 Mar 2007 11:20:02 +0100

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 - 04:20:08 MDT

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