Ano-Tech Computers
Enter keyword:

Squid refuses to check for DNS updates even when restarted
Problem:
Squid refuses to check for DNS or site updates because it believes that the cached data is up-to-date. Even a restart does not help.
 
Solution:
Edit squid.conf and set the three DNS ttl values to very low values. Note that depending on server load, this may impact overall performance.

negative_ttl time-units
default value = 5 minutes

positive_dns_ttl time-units
default value = 6 hours

negative_dns_ttl time-units
default value = 5 minutes

 
Discuss this solution
Did this article solve your problem? Yes No Did not apply

We welcome anyone who is willing to contribute to this public knowledge base, contact siteadmin@atc.no if you have information you would like to share. The idea is not to replace the commercial support sites, but to publish those hard-to-find solutions you've found yourself looking for over and over again.

Show all articles