A high-performance DNS recursor with built-in scripting capabilities
open sourceGPL-2.0-onlyself-hostablefree
PowerDNS Recursor is a recursive DNS resolver for ISPs, network operators and enterprises; PowerDNS says it serves the resolving needs of over 150 million internet connections. It validates DNSSEC, filters with Response Policy Zones, and runs Lua scripts that can change answers and policies per query, with multi-level caching, serve-stale, spoofing protection, YAML configuration (from 5.0) and outgoing DNS over TLS to chosen upstreams (from 5.4). It exposes a REST API, Prometheus metrics and OpenTelemetry query tracing. It is GPLv2 from PowerDNS, part of Open-Xchange, which sells support and add-ons such as Recursor Plexus (keeping the cache across restarts) and Protect (DNS filtering).
Ways to install
Package managers
Problems it solves
- run a fast caching DNS resolver for millions of ISP subscribers
- change DNS answers per client or per query with a script on our resolver
- block malicious domains on our resolver with response policy zone threat feeds
- validate DNSSEC on the resolver our customers use
- keep answering DNS from cache when upstream authoritative servers are unreachable
- send queries to certain upstream resolvers over DNS over TLS
- monitor our DNS resolver with Prometheus metrics and trace slow queries
- configure our DNS resolver with YAML instead of an old key=value file
- forward internal zones to our own name servers while resolving everything else recursively
- a recursive resolver with commercial support and long-term maintenance for a telecom network
- protect our DNS resolver against cache poisoning and spoofed answers
Features
- DNSSEC validation
- Lua scripting for custom policies and answers
- Response Policy Zones (RPZ)
- multi-level caching and serve-stale
- spoofing protection with source port randomisation and spoofing detection
- YAML configuration (from 5.0)
- outgoing DNS over TLS to configured upstreams (from 5.4)
- forward zones and PROXY protocol support
- REST API, Prometheus metrics and OpenTelemetry query tracing
- packages for Debian, Ubuntu, RHEL (EPEL), FreeBSD, OpenBSD and macOS, and Docker images
Capabilities
| Has an API | plan not known |
|---|---|
| Takes plugins | plan not known |
Alternatives
The same job
These do what PowerDNS Recursor does.
- Knot Resolver Full caching DNS resolver implementation
- Unbound A validating, recursive, and caching DNS resolver
- BIND 9 Versatile, classic, complete name server software
- Technitium DNS Server Self host a DNS server for privacy & security
- Numa Portable DNS resolver: ad blocking, local .numa names and private upstream queries
- Knot DNS High-performance authoritative-only DNS server
