Search squid archive

Re: hosts_file with domains instead of individual hosts

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxx ; 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

[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux