Werk #19061: DNS cache: Prevent superfluous queries

Component Core & setup
Title DNS cache: Prevent superfluous queries
Date Jan 2, 2026
Level Prominent Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
2.4.0p19
Not yet released
Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.3.0p42
Not yet released
Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)

While updating the DNS cache, Checkmk performed DNS queries also for hosts with statically configured IP addresses. This was caused by an erroneous swap of dictionaries containing the configured IPv4 and IPv6 addresses in the call stack.

This werk removes the swap such that no DNS query is executed for hosts with a configured IP address.

To benefit from this fix, no manual interaction is required.

To the list of all Werks