<div dir="ltr"><br><br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Date: Thu, 28 Jun 2018 07:06:14 +1200<br>
From: Amos Jeffries <<a href="mailto:squid3@treenet.co.nz" target="_blank">squid3@treenet.co.nz</a>><br>
To: <a href="mailto:squid-users@lists.squid-cache.org" target="_blank">squid-users@lists.squid-cache.org</a><br>
Subject: Re: [squid-users] can squid use dns server on random<br>
        port(non-53)?<br>
Message-ID: <<a href="mailto:4563f027-a210-deeb-df82-f5a238887410@treenet.co.nz" target="_blank">4563f027-a210-deeb-df82-f5a238887410@treenet.co.nz</a>><br>
Content-Type: text/plain; charset=utf-8<br>
<br>
On 27/06/18 16:29, Dieter Bloms wrote:<br>
> Hello,<br>
> <br>
> On Tue, Jun 26, Gordon Hsiao wrote:<br>
> <br>
>> checked the manual it seems I can only set dnsserver with a new IP, is it<br>
>> possible to make squid support non-standard DNS port, e.g. 5353?<br>
<br>
Squid only contains a minimal stub resolver. It requires a recursive<br>
resolver on port 53 (UDP *and* TCP) to do the actual DNS resolving and<br>
any fancy things like strange ports.<br>
<br>
So what Dieter said:<br>
<br>
> <br>
> maybe you can use a dns resolver like unbound, dnscache, dnsmasq, ....<br>
> which can be configure to listen on localhost port 53, so only squid can<br>
> access it via localhost and no other servers.<br>
> These dns resolvers can be configure to use a non standard port like<br>
> 5353 for the destination dns servers.<br>
> <br>
> But in the past I've never seen a dns server listening on port 5353, so<br>
> maybe the setup is a little broken.<br>
> <br>
<br>
<br>
Amos<br>
<br><br></blockquote><div>I agree it's a bit unusual, but adding a nameserver port option will be nice if the changes are not intrusive.</div><div><br></div><div>Thanks,</div><div>Gordon </div></div></div>