Hello,
I am running blackbox_exporter and smokeping_prober on a RHEL8 environment. Unfortunately with our configu wie have around 4-5 million DNS queries per 24hrs.
The reason for that is that we do very frequent tcp queries to various destinations which results in many DNS requests.
To reduce the DNS load on the DNS server we tried to implement "nscd" as a DNS cache.
However running strace we notice that the blackbox_exporter is checking resolve.con, then nsswitch.conf then /etc/hosts and then send the query directly to the DNS server not using the DNS cache. Thats for every target of blackbox_exporter.
For smokeping_prober I am aware that it resolves DNS only at restart and we notice the same. All requests are directly send to DNS server but not to the cache.
anyone using nscd on RHEL8 to cache blackbox_exporter and/or smokeping_prober?
If not has anyone a working, simple configuration with unbound for this specific scenario?
Is blackbox and smokeping using glibc methods to resolve DNS or something else?
Thank you very much!