[squid-users] can squid use dns server on random port(non-53)?
squid3 at treenet.co.nz
Wed Jun 27 19:06:14 UTC 2018
On 27/06/18 16:29, Dieter Bloms wrote:
> On Tue, Jun 26, Gordon Hsiao wrote:
>> checked the manual it seems I can only set dnsserver with a new IP, is it
>> possible to make squid support non-standard DNS port, e.g. 5353?
Squid only contains a minimal stub resolver. It requires a recursive
resolver on port 53 (UDP *and* TCP) to do the actual DNS resolving and
any fancy things like strange ports.
So what Dieter said:
> maybe you can use a dns resolver like unbound, dnscache, dnsmasq, ....
> which can be configure to listen on localhost port 53, so only squid can
> access it via localhost and no other servers.
> These dns resolvers can be configure to use a non standard port like
> 5353 for the destination dns servers.
> But in the past I've never seen a dns server listening on port 5353, so
> maybe the setup is a little broken.
More information about the squid-users