Tag Name cache_dns_program
Usage cache_dns_program program

Description
This tag is used to specify the location of the executable for dns lookup process. This option is only available if Squid is rebuilt with the –disable-internal-dns option.

The external dns program uses the normal resolver libraries which is a much more mature DNS client. The internal DNS client still has some problems with special cases in the DNS protocol. However, things has gotten a lot better compared to the early version so any of these issues are not likely to be noticed, and is heavily out weighted by the improved performance and reliability. But drawbacks of the external DNS helper are likely to be noticed when using external DNS. If DNS lookups are slow then the external DNS helper will hit the roof and no further DNS lookups can complete (some Squid versions even abort in such case).

Recommendation: Use the internal DNS client unless an experience problem which forces to use the external one until a fix is provided.

Default cache_dns_program /usr/local/squid/libexec/squid/

Example
cache_dns_program /usr/local/squid/bin/dnsserver