We use cookies to ensure that we give you the best experience on our website.  Visit our Privacy Policy to learn more. If you continue to use this site, we will assume that you are okay with it.

Your choices regarding cookies on this site.
Your preferences have been updated.
In order for the changes to take effect completely please clear your browser cookies and cache. Then reload the page.

Werk #10378: Improve 'Update DNS cache' / cmk --update-dns-cache performance

ComponentCore & Setup
TitleImprove "Update DNS cache" / cmk --update-dns-cache performance
Date2019-10-31 23:57:21
Checkmk EditionCheckmk Raw Edition (CRE)
Checkmk Version1.6.0p6,1.7.0i1
LevelTrivial Change
ClassBug Fix
CompatibilityCompatible - no manual interaction needed

The operation was performing a lot of needless operations. The update of several thousands of hosts DNS entries took way too long. The exact time needed depends mostly on the number of hosts, cache size, DNS lookup performance and so on. But even with good responding servers the operation took too long, because the cache was updated in a very inefficient way when calling the "Update DNS cache" action in WATO or "cmk --update-dns-cache" from the command line.

The operation is now more than a 100 times faster (tested with ~2000 hosts and a fast responding DNS server).