[squid-users] Squid and DNS

Amos Jeffries squid3 at treenet.co.nz
Thu Sep 6 12:57:23 UTC 2018


On 6/09/18 7:22 PM, Matus UHLAR - fantomas wrote:
> On 06.09.18 02:40, Julian Perconti wrote:
> 
>> Is mandatory for squid to use only 1 dns/caching nameserver?
> 
> usually, people have multiple DNS servers configured to fail over in case
> one of them fails.
> in some cases, client can balance the load, or prefer server with faster
> responses.
> 
> There should be no problem of this kind, unless one of your DNS servers is
> broken.
> 

If it wasn't clear already, yes Squid can use multiple resolvers BUT
they need to be recursive resolvers and every one of them needs to be
able to resolve *all* possible domains Squid will ask about.

You cannot have one of them being authoritative for local domain names
and another for public queries. DNS don't work like that.

Amos




More information about the squid-users mailing list