Search squid archive

Re: DNS configuration

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

 



On tis, 2008-07-22 at 01:53 -0700, elsergio wrote:

> Hi Henrik,
> 
> - http_port 80 accel vhost    # accel vhost? what is used for?

accel vhost means reverse proxy with host/domain based support using the
Host header to figure out the requested sitename.

> - allways_direct allow all  #do I need something like acl all src
> 0.0.0.0/0.0.0.0 ?

Yes.

> For the option A (with dns server). If the dns server's IP is 192.168.10.10
> 
> dns_nameservers 192.168.10.10  #is this the way to configure it?

One way. The other /etc/resolv.conf.

> For the option B (squid will be in charge of the logics): If the web
> server's IP's are wsIP1, wsIP2 and wsIP3
> 
> cache_peer wsIP1 parent 80 0 no-query originserver name=S1 round_robin
> cache_peer wsIP2 parent 80 0 no-query originserver name=S2 round_robin
> cache_peer wsIP3 parent 80 0 no-query originserver name=S3 round_robin
> 
> acl S1_domains dstdomain site.domain
> acl S2_domains dstdomain site.domain
> acl S3_domains dstdomain site.domain
> 
> cache_peer_access allow S1 S1_domains
> cache_peer_access allow S2 S2_domains
> cache_peer_access allow S3 S3_domains
> 
> would this e the way to set it?

Yes, that's one way. There is more ways depending on how you want Squid
to distribute the requests among the servers.

Regards
Henrik

Attachment: signature.asc
Description: This is a digitally signed message part


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

  Powered by Linux