bind_exporter, A Query Counted Through BIND's Statistics Channel

bind_exporter on EL 10 from the upstream release (sha256-verified), as a hardened systemd service on loopback; the live test brings up named with one zone and a statistics channel on loopback as a fixture, asks it a name with dig, and reads bind_up 1 and the A query counted. Original role, live-tested on Rocky Linux 10.

Verification

Live-tested

Really deployed to a container sandbox, proven idempotent (a second run changes nothing), verified against the role’s assertions, then torn down.

Conformance

  • Static validation (yamllint · ansible-lint)

Provenance

  • SHA-256 checksum
  • Signature (pending)

Functional

  • Live-tested - applied, verified, destroyed

Last verified 2026-09-21 · podman 4.9.3 · ansible 2.21.4 · how we verify

Cite it in your README

badge · attribution

Paste this beside the module in the repository that uses it. The badge is rendered from this artifact's verification record, so it reads live-tested because the record says so, and the link lands on this page.

README.md, GitLab, Gitea
[![IaC Bazaar: live-tested](https://www.iac-bazaar.com/api/artifacts/ansible-bind-exporter/badge)](https://www.iac-bazaar.com/catalog/ansible-bind-exporter?utm_source=syndication&utm_medium=readme&utm_campaign=artifact)

Ansible role 1.0.0, live-tested on IaC Bazaar: [bind_exporter, A Query Counted Through BIND's Statistics Channel](https://www.iac-bazaar.com/catalog/ansible-bind-exporter?utm_source=syndication&utm_medium=readme&utm_campaign=artifact)

```yaml
# bind_exporter, A Query Counted Through BIND's Statistics Channel: https://www.iac-bazaar.com/catalog/ansible-bind-exporter (download from your IaC Bazaar account)
```

Preview:IaC Bazaar: live-tested

Documentation

bind-exporter

bind_exporter, BIND's statistics channel as Prometheus metrics, from the upstream release (sha256-verified), as a hardened system service on loopback. Original role for EL 10, live-tested with podman on Rocky Linux 10.

No package, so the checksum is the whole story. EL 10 carries no bind_exporter; Prometheus community ships a release with a checksum file beside it. The role downloads both and has Ansible's get_url refuse the asset unless its SHA-256 is the one in the vendor's file, then installs the binaries as root's in /usr/local/bin, pinned by bind_exporter_version.

A service account, a hardened unit, a loopback listener. bind_exporter is a system user with no shell that owns the data directory and nothing else; the unit runs with NoNewPrivileges, PrivateTmp, ProtectHome and ProtectSystem=strict. The listener is 127.0.0.1:9119 by default, for a proxy that authenticates or a client on the same host; the live test reads the listening sockets and expects loopback only.

Proven against a real statistics channel. The live test installs BIND as a fixture with one zone and a statistics channel on loopback, asks it for a name with dig, and reads bind_up 1 and an incoming A query counted from /metrics. Point bind_exporter_stats_url at the channel of the BIND already on the host (the bind-authoritative role in this catalogue).

License

Commercial - IaC Bazaar EULA. (c) IaC Bazaar.

Usage code & full reference need an account

The complete copy-paste usage, the full input/output reference, and operational notes are free with an account - shown here and bundled in the download. Sign in and this section fills in.

  • Variables
  • Test

Related modules