Name
hostname_aliases
Synopsis
You may find yourself in a situation where more than one hostname resolves to Squid’s IP address. For example, both sv.us.ircache.net and sv.cache.nlanr.net resolve to 192.203.230.19. If you have neighbors, they may send requests for certain Squid-specific internal URLs, as in the case of Cache Digests. These URLs might contain either hostname. You must use this directive to tell Squid that it is known by names other than its visible_hostname.
Syntax | hostname_aliases |
Default | No default |
Example | hostname_aliases this.host.name that.host.name |
Related | visible_hostname, unique_hostname |
Get Squid: The Definitive 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.