Name

as_whois_server

Synopsis

This is the hostname of the whois server Squid uses to resolve Autonomous System numbers into IP networks. You only need to worry about this if you use AS-based ACLs (src_as, dst_as).

The default server, whois.ra.net, seems to work relatively well. It may be too far away (and unreliable) for non-U.S. users. If you know of a local whois server that returns AS queries, feel free to use it instead.

Syntax

as_whois_server hostname

Default

as_whois_server whois.ra.net

Example

as_whois_server whois.host.name

Related

acl

Get Squid: The Definitive Guide now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.