Dnsmasq is a lightweight, easy to configure DNS forwarder, designed
to provide DNS (and optionally DHCP and TFTP) services to a small-scale network.
This module monitors one or more
Dnsmasq DNS Forwarder instances, depending on your configuration.
It collects DNS cache statistics by reading the response on the following query:
- Queries forwarded to the upstream servers in
- Cache size in
- Cache operations in
- Cache performance in
go.d/dnsmasq.conf configuration file using
edit-config from the
Netdata config directory, which is typically at
address, here is an example with two jobs:
For all available options, see the
collector's configuration file.
To troubleshoot issues with the
dnsmasq 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.
First, navigate to your plugins directory, usually at
/usr/libexec/netdata/plugins.d/. If that's not the case on your
netdata.conf and look for the setting
plugins directory. Once you're in the plugin's directory, switch
You can now run the
go.d.plugin to debug the collector: