Chapter 8, Building a Hierarchy of Squid Caches

Question

Answer

1

a.

p1.example.com. When the default option is used with more than one peer, only the first one is considered irrespective of the other options specified.

2

c.

Two possible ways:

Using cache_peer_domain

cache_peer sibling.example.com sibling 3128 0 no-query no-digest

cache_peer_domain sibling.example.com !.local.example.com

Using cache_peer_access

cache_peer sibling.example.com sibling 3128 0 no-query no-digest

acl local_example dstdomain .local.example.com

cache_peer_access sibling.example.com deny local_example

cache_peer_access sibling.example.com allow all

Get Squid Proxy Server 3.1 Beginner's Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.