v.24.3Improvement

Renamed dns_cache_max_size to dns_cache_max_entries for Clarity

Renamed server setting dns_cache_max_size to dns_cache_max_entries to reduce ambiguity. #60500 (Kirill Nikiforov).
Renamed the server setting dns_cache_max_size to dns_cache_max_entries to clarify its meaning and reduce ambiguity.

Why it matters

The rename improves configuration clarity by explicitly indicating that the setting controls the maximum number of DNS cache entries, rather than implying a size measurement. This helps users better understand and manage DNS cache behavior in ClickHouse.

How to use it

Replace any usage of the dns_cache_max_size setting in your server configuration with dns_cache_max_entries to apply the setting correctly.