Skip to main content

Prometheus exporter for blackbox-style DNS monitoring

Project description

Tox main Tox develop Documentation Status

dns_exporter

dns_exporter is a multi-target Prometheus exporter with an exclusive focus on DNS monitoring. It is built on the excellent libraries dnspython and the Prometheus Python client library.

dns_exporter can be used to monitor availability and performance of DNS servers, and to validate the responses they return. It can monitor recursive and authoritative servers regardless of the software they run. You can use it to make sure your (or your providers) DNS servers are sending the replies you expect and configure Prometheus and Alertmanager to notify you if something stops working.

dns_exporter works similar to the Blackbox exporter where Prometheus asks the exporter to scrape the target, rather than the exporter itself being the target. This is called the Multi Target Exporter Pattern. It is typically used in black-box style exporters where 1) the thing you are monitoring is not under your control, or 2) you want to measure the path as well. Often when monitoring DNS both 1) and 2) are relevant.

This means that for each scrape Prometheus speaks HTTP to the dns_exporter which then speaks DNS with the target DNS server and returns the resulting metrics over HTTP to Prometheus. dns_exporter supports doing DNS queries over plain port 53 UDP and TCP, as well as DoT and DoH (and DoQ pending the next release of dnspython).

Documentation

The documentation is available on ReadTheDocs

Versioning and Releases of dns_exporter

Versioning, branching and tagging of dns_exporter is done based on https://semver.org/ and https://nvie.com/posts/a-successful-git-branching-model/

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

dns_exporter-0.2.0.tar.gz (37.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

dns_exporter-0.2.0-py3-none-any.whl (23.5 kB view details)

Uploaded Python 3

File details

Details for the file dns_exporter-0.2.0.tar.gz.

File metadata

  • Download URL: dns_exporter-0.2.0.tar.gz
  • Upload date:
  • Size: 37.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.10

File hashes

Hashes for dns_exporter-0.2.0.tar.gz
Algorithm Hash digest
SHA256 aa2b02dfe4169a127e9ad6f21927a531fdbbef01bc7666b1d60191a00c34bc87
MD5 736cbc931b6ea515d09ce618a3492cbe
BLAKE2b-256 35e8c78a45ee750116cfdc222aceac2261cbd7d8719f27d5ebf8a5d44698bf97

See more details on using hashes here.

File details

Details for the file dns_exporter-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: dns_exporter-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 23.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.10

File hashes

Hashes for dns_exporter-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e1780e25455b88971ad7e8f2ce9fea4600dc6b9f831c7ae1924c19ec5f6999a3
MD5 83d8352e384fab21f49d2d35af235604
BLAKE2b-256 b281f16d0289fabaea069bb1a40fb686bdb1145531b235533d9c8f7f4039f030

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page