Skip to main content

PowerDNS Recursor collector

PowerDNS Recursor is a high-performance DNS recursor with built-in scripting capabilities.

This module monitors one or more PowerDNS Recursor instances, depending on your configuration.

It collects metrics from the internal webserver.

Used endpoints:


For collecting metrics via HTTP, we need:


All metrics have "powerdns_recursor." prefix.

questions_inglobaltotal, tcp, ipv6questions/s
questions_outglobaludp, tcp, ipv6, throttledquestions/s
answer_timeglobal0-1ms, 1-10ms, 10-100ms, 100-1000ms, slowqueries/s
timeoutsglobaltotal, ipv4, ipv6timeouts/s
dropsglobalover-capacity-drops, query-pipe-full-drops, too-old-drops, truncated-drops, empty-queriesdrops/s
cache_sizeglobalcache, packet-cache, negative-cacheentries


Edit the go.d/powerdns_recursor.conf configuration file using edit-config from the Netdata config directory, which is typically at /etc/netdata.

cd /etc/netdata # Replace this path with your Netdata config directory
sudo ./edit-config go.d/powerdns_recursor.conf

To add a new endpoint to collect metrics from, or change the URL that Netdata looks for, add or configure the name and url values. Endpoints can be both local or remote as long as they expose their metrics on the provided URL.

Here is an example with two endpoints:

- name: local

- name: remote

For all available options, see the PowerDNS Recursor collector's configuration file.


To troubleshoot issues with the powerdns_recursor collector, run the go.d.plugin with the debug option enabled. The output should give you clues as to why the collector isn't working.

  • Navigate to the plugins.d directory, usually at /usr/libexec/netdata/plugins.d/. If that's not the case on your system, open netdata.conf and look for the plugins setting under [directories].

    cd /usr/libexec/netdata/plugins.d/
  • Switch to the netdata user.

    sudo -u netdata -s
  • Run the go.d.plugin to debug the collector:

    ./go.d.plugin -d -m powerdns_recursor

Do you have any feedback for this page? If so, you can open a new issue on our netdata/learn repository.