dns-exporter-0.2.0b3
توضیحات
Prometheus exporter for blackbox-style DNS monitoring
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | dns-exporter-0.2.0b3 |
| نام | dns-exporter |
| نسخه کتابخانه | 0.2.0b3 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Thomas Steen Rasmussen |
| ایمیل نویسنده | thomas@gibfest.dk |
| آدرس صفحه اصلی | - |
| آدرس اینترنتی | https://pypi.org/project/dns-exporter/ |
| مجوز | BSD 3-Clause License |


[](https://dns-exporter.readthedocs.io/en/latest/?badge=latest)
# dns_exporter
`dns_exporter` is a [multi-target](https://prometheus.io/docs/guides/multi-target-exporter/) [Prometheus](https://prometheus.io/) exporter with an exclusive focus on DNS monitoring. It is built on the excellent libraries [dnspython](https://github.com/rthalley/dnspython) and [the Prometheus Python client library](https://github.com/prometheus/client_python).
`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](https://prometheus.io/) and [Alertmanager](https://prometheus.io/docs/alerting/latest/alertmanager/) to notify you if something stops working.
`dns_exporter` works similar to the [Blackbox exporter](https://github.com/prometheus/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](https://prometheus.io/docs/guides/multi-target-exporter/). 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](https://dns-exporter.readthedocs.io/en/latest/?badge=latest)
# 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/
نیازمندی
| مقدار | نام |
|---|---|
| >=2.2.1 | dnspython[dnssec,doh,doq,idna] |
| >=6.0 | PyYAML |
| >=0.15.0 | prometheus-client |
| ==4.0.2 | twine |
| ==3.2.2 | pre-commit |
| ==7.1.0 | setuptools-scm |
| ==6.1.3 | Sphinx |
| ==2023.3.27 | furo |
| ==7.3.0 | pytest |
| ==4.0.0 | pytest-cov |
| ==4.4.11 | tox |
| ==2.28.2 | requests |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.9 | Python |
نحوه نصب
نصب پکیج whl dns-exporter-0.2.0b3:
pip install dns-exporter-0.2.0b3.whl
نصب پکیج tar.gz dns-exporter-0.2.0b3:
pip install dns-exporter-0.2.0b3.tar.gz