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!

-- 
You received this message because you are subscribed to the Google Groups 
"Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to prometheus-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/prometheus-users/7972e866-f6be-47f6-8807-65f560f2aa3fn%40googlegroups.com.

Reply via email to