PowerDNS Authoritative monitoring with Topologix
Infrastructure & Networking
A PowerDNS Authoritative server over its built-in HTTP API — queries per second (UDP / TCP), answer and backend latency, packet and query cache hit rates, SERVFAIL and timed-out answers, DNSSEC signing rate and the security poll; every zone with its kind, serial, notified and edited serial and DNSSEC state; and, optionally, the A / AAAA / PTR records of the zones you pick, so addresses on the maps and pages get their DNS names.
Requirements
- The API on:
webserver=yes,api=yes, anapi-key, andwebserver-allow-fromlisting the Topologix server or the proxy agent that polls it (default port 8081). - The API key. PowerDNS has no read-only API role — the one key can also change zones — so keep the webserver on a management network and limit where the key is accepted with
webserver-allow-from. Topologix only ever sends GET requests. - For the secondary-zone check: DNS (UDP/53) from the poller to each secondary zone's primary — the primary's SOA serial is asked over DNS.
- Through a proxy agent: proxy 1.361.0 or later.
1 · Set up the integration
- Open the Integrations pageClick Integrations in the toolbar and pick PowerDNS Authoritative from the catalogue.
- ConnectEnter the API URL (e.g.
http://dns1.example.com:8081), the API key and, if it is notlocalhost, the Server id. Pick Connect via proxy for a server the Topologix server cannot reach. - Choose the namingName addresses from the zones is on by default: every zone (or only the zones you list) is read every 30 minutes for its A, AAAA and PTR records, at most 50,000 records per integration by default (up to 200,000). All three are editable, and the form shows the value in effect and whether it is the default.
- Create, then verifyClick Create, then Test — it reads the server object (version, daemon type) and counts the zones. A Recursor's API is refused here with a hint to add it as PowerDNS Recursor.
Target on a private network? Route it through a proxy agent. Proxy agents run inside your network — behind NAT, on a management VLAN, in an air-gapped segment — and reach targets the Topologix server can't. The agent polls the server every 15 seconds for its assignments, runs the checks locally, and pushes results back every 5 seconds, so no inbound firewall rules are ever needed. Set a default proxy on the integration; every metric source can override it. If a proxy goes offline, its sources are marked stale within ~90 seconds and the last known values stay visible.
2 · Add it to a flow
- Select the DNS nodeClick the node, open Metrics, then + Add and choose the PowerDNS Authoritative integration.
- Set the thresholdsEach alert threshold shows its value and source; leave a field empty for the default, 0 turns that alert off: SERVFAIL answers over (5 %), Answer latency over (100 ms), Secondary serial behind for (60 min), Edited, not notified for (15 min). The primary SOA check is on by default through a proxy and off when the Topologix server polls; set it On / Off per source.
- SaveSet the interval and click Add Source. Rates start with the second poll — they are the change since the previous one.
Good to know
- Alerts: security status 2 (upgrade recommended) is a warning and 3 (security update) critical; a DNSSEC zone with no active key, an active key that is not published, or a key read that fails is critical; a secondary zone whose primary's SOA serial has been ahead of its own for longer than the threshold, and a primary zone edited (its edited serial — the serial after SOA-EDIT-API, else the zone serial — ahead of the notified serial) but not notified for longer than the threshold, are warnings — the alert lists the zones.
- A primary zone that has never sent a NOTIFY (notified serial 0 — no secondaries) is not judged as "not notified"; the card says how many there are. A zone kind the reader does not know is listed and noted, never a failure.
- At most 40 secondary zones are asked for their primary's SOA (8 at a time, IP-literal primaries only) and 40 DNSSEC zones checked per poll, in turn — the others keep their last answer; a poll stops starting these checks after 30 s. After 3 polls in a row where no primary answered, the SOA lookups pause for 30 minutes. At most 500 zones are listed on the card (problems first).
- Naming: the zone records name addresses on the maps (internal and external flow ends), the Load balancers, Servers and Databases pages and the server import — "from a DNS zone record (PowerDNS)". They rank below the monitored inventory's own names (VMs, hosts, BMCs, agents, Kubernetes) and above reverse DNS. An address with a PTR record takes its PTR name. Names are used only inside the integration's own organisation.
- The record names go through your organisation's redaction rules (the logs scope); the addresses only through the secret floor, and an address a rule rewrote is dropped. Each zone is fetched whole (PowerDNS filters rrsets only by name), so a pass over many large zones takes a while — it runs on its own cadence, never in the metric poll.
- Statistics are read with
includerings=false: the ring buffers (top queries / remotes) are never fetched.
More Infrastructure & Networking integrations
See it on your own infrastructure
Book a demo and we will walk you through Topologix with your systems in mind: on our cloud, or self-hosted in your own network.