Name

ignore_unknown_nameservers

Synopsis

Squid normally checks that DNS replies come from the same IP address to which the query was sent. If the addresses don’t match, Squid writes a warning to cache.log and ignores the reply. Some installations use an /etc/resolv.conf trick to query any local name server. If the name server IP address is 0.0.0.0, DNS queries are broadcast on the local area network. The replies, however, come from specific addresses. If you want to use this trick, you must disable the ignore_unknown_nameservers directive.

Syntax

ignore_unknown_nameservers on|off

Default

ignore_unknown_nameservers on

Example

ignore_unknown_nameservers off

Related

dns_nameservers

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.