Search squid archive

dns_nameservers directive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Using squid-6.0.0-20220905-r9358e99f9:
======================================

On sunday, one of our DNS server froze and was not answering any
queries. Shit happens, that's why we have another DNS server.

Our Squid config says:

dns_nameservers 141.42.5.157 141.42.5.156

So, 141.42.5.157 was not answering any queries, and 141.42.5.156 took
over. 

But... monitoring reported dns_query_time rose to about 8000ms,
meaning all http requests took ages, since (I guess) the first dns
server was queried, and (after 8s?) the second server was used.

But according to the docs, "dns_timeout" defaults to 30s.

Is there any way of making squid mark the first server as "dead" (for
e.g. 5 minutes) and use the next server instead?

-- 
Ralf Hildebrandt
Charité - Universitätsmedizin Berlin
Geschäftsbereich IT | Abteilung Netzwerk

Campus Benjamin Franklin (CBF)
Haus I | 1. OG | Raum 105
Hindenburgdamm 30 | D-12203 Berlin

Tel. +49 30 450 570 155
ralf.hildebrandt@xxxxxxxxxx
https://www.charite.de
_______________________________________________
squid-users mailing list
squid-users@xxxxxxxxxxxxxxxxxxxxx
http://lists.squid-cache.org/listinfo/squid-users




[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux