The agent poller and SNMP poller can now be configured to use the c-ares library (version 1.16.0 or newer) instead of the libevent DNS resolver, providing potentially faster and more flexible DNS resolution.
If you want to use c-ares library, configure Zabbix with the --with-ares
option:
--with-ares[=ARG] use c-ares library [default=no],
--with-ares-include=DIR use c-ares include headers from given path.
--with-ares-lib=DIR use c-ares libraries from given path.
Note that starting from c-ares 1.31.0, DNS caching is enabled by default.