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 O’Reilly online learning.

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