Name

dns_testnames

Synopsis

Squid uses these hostnames to test the DNS before starting. If Squid can’t resolve any of these names, it prints an error and refuses to run. If the default list doesn’t seem to work on your network, try listing some local hostnames instead.

Syntax

dns_testnames hostname ...

Default

dns_testnames netscape.com internic.net nlanr.net microsoft.com

Example

dns_testnames yahoo.com example.com squid-cache.org

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.