[squid-users] idnsSendQuery: Can't send query, no DNS socket!

andre.bolinhas at articatech.com andre.bolinhas at articatech.com
Mon Apr 10 21:14:42 UTC 2023


Hi all

We have experienced some issue on our squid servers, time to times the
listen port fails and users are unable to connected to the proxy.
We already try use squid 4.17 and squid 5.8 but had the same issue on both
version, you can find I GDrive the extract of the cache.log on the time of
the failure.

https://drive.google.com/file/d/1gZ-ITgH4PUOr7FuKaEr3qKRn-_4duspK/view?usp=s
haring

On the cache log I see to many
idnsSendQuery: Can't send query, no DNS socket!
And
2023/04/10 16:25:59 kid4| Waiting 10 seconds for active connections to
finish
2023/04/10 16:25:59 kid4| Preparing for shutdown after 763 requests

This is the dns configuration squid/dns.conf
# Return DNS used by the system (means resolv.conf)
client_dst_passthru off
host_verify_strict off
ignore_unknown_nameservers off
dns_retransmit_interval 3 seconds
dns_v4_first on
ipcache_size 16384
ipcache_low 90
ipcache_high 95
fqdncache_size 1024
positive_dns_ttl 6 hours
negative_dns_ttl 300 seconds

Resolv.conf
domain xyz.my
search xyz.my
options attempts:2 timeout:2
nameserver 127.0.0.1
nameserver 8.8.8.8
nameserver 1.1.1.1

127.0.0.1 is the unbound internal DNS.




More information about the squid-users mailing list