BIND 9 (Berkeley Internet Name Domain) is a popular open source implementation of DNS, available for Linux. BIND allows for the publishing of DNS information on the internet as well as resolving DNS queries for the users.

Why use a Telegraf plugin for BIND 9 Nameserver Statistics?

Your application delivery could have problems that are based on DNS issues, outages, record misconfigurations and cache poisoning. Therefore, it is important to ensure DNS availability and performance. Monitoring your DNS with the BIND 9 Nameserver Statistics Telegraf Plugin will help you collect metrics that could enable your organizations to pinpoint issues and get to resolution faster.

How to collect BIND 9 Nameserver Statistics using the Telegraf plugin

This BIND 9 Nameserver Statistics Telegraf Plugin decodes the JSON or XML statistics provided by BIND 9 nameservers. Configurations include:

  • urls []string: A list of BIND statistics channel URLs to collect from. Do not include a trailing slash in the URL. The default is "http://localhost:8053/xml/v3".
  • gather_memory_contexts bool: Reports per-context memory statistics.
  • gather_views bool: Reports per-view query statistics.

In addition, you will need to configure the BIND Daemon by adding the following to your named.conf if running Telegraf on the same host as the BIND daemon:

statistics-channels {
inet port 8053;

Alternatively, specify a wildcard address (e.g., or specific IP address of an interface to configure the BIND daemon to listen on that address. Consult the BIND Administrator Reference for more details.

Key BIND 9 Nameserver Statistics metrics to use for monitoring

Some of the important BIND 9 Nameserver Statistics metrics that you should proactively monitor include:

  • bind_counter
    • name=value (multiple)
  • bind_memory
    • Total_use
    • In_use
    • Block_size
    • Context_size
    • lost
  • bind_memory_context
    • Total
    • in_use

For more information, please check out the documentation.

Project URL   Documentation

Related Resources

Tomcat Monitoring Template

How to use the Tomcat Monitoring Template

Zookeeper Monitoring Template

How to use the Zookeeper Monitoring Template

Infrastructure and application monitoring

The solution to monitor your entire infrastructure stack, including servers, containers, databases and cloud services.

Scroll to Top