[squid-users] peer-select.cc, cache_peer and dns queries

Matus UHLAR - fantomas uhlar at fantomas.sk
Mon Jan 12 17:26:55 UTC 2026


>> On 10.01.26 06:19, archer wrote:
>>> Greetings from Beijing. When it comes to the location, you know our security concerns.
>>> I managed to implement the following bluemaps:
>>>
>>> * 	acl extranet  			dstdomain “domain list A”
>>> *	acl extranet_whitelist  	dstdomain “domain list B”
>>
>>> So, what can I do to have extranet DNS handled by the parent proxy, while leaving the remainder to the child proxy, with a domain list ?

>> On Jan 12, 2026, at 4:33 PM, Matus UHLAR - fantomas <uhlar at fantomas.sk> wrote:
>> You can use "dstdomain -n" to disable DNS translation here.
>> I recommend doing that.

On 13.01.26 01:18, archer wrote:
>In my config, it is “dstdomain -n” already. Anyway it is not functional, whether there is a “-n “ tag .
>I have dig official conf reference, and lots mail archives. Believe me, I would not make easy mistakes.
>Anyway I am not capable of reviewing squid source code, dunno whether it is a designed logic or a bug. If it is not expectable, I might have to select another child proxy program.

there may be different directive(s) that require DNS lookup, e.g. "dst" 
directives.

but if your ISP intercepts and modifies DNS, I recommend using DNS server 
supporting DoH, DoT or supporting validation, if you are unable to switch 
ISPs or ask them not to do that.

-- 
Matus UHLAR - fantomas, uhlar at fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
2B|!2B, that's a question!


More information about the squid-users mailing list