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