Jump to content

PowerDNS

From Wikipedia, the free encyclopedia
PowerDNS Server
Original author(s)PowerDNS.com B.V.
Developer(s)PowerDNS Community, Bert Hubert
Stable release
4.9.2 / October 1, 2024 (2024-10-01)[1]
Repository
Written inC++
Operating systemUnix-like
TypeDNS server
LicenseGNU General Public License v2
Websitewww.powerdns.com Edit this on Wikidata
PowerDNS Recursor
Original author(s)PowerDNS.com B.V.
Developer(s)PowerDNS Community, Bert Hubert
Stable release
5.1.2 / October 3, 2024 (2024-10-03)[2]
Repository
Written inC++
Operating systemUnix-like
TypeDNS server
LicenseGNU General Public License v2
Websitewww.powerdns.com Edit this on Wikidata
PowerDNS DNSdist
Original author(s)PowerDNS.com B.V.
Developer(s)PowerDNS Community, Bert Hubert
Stable release
1.9.7 / October 4, 2024 (2024-10-04)[3]
Repository
Written inC++
Operating systemUnix-like
TypeDNS server
LicenseGNU General Public License v2
Websitewww.powerdns.com Edit this on Wikidata

PowerDNS is a DNS server program, written in C++ and licensed under the GPL. It runs on most Unix derivatives. PowerDNS features a large number of different backends ranging from simple BIND style zonefiles to relational databases[4] and load balancing/failover algorithms. A DNS recursor is provided as a separate program.

History

[edit]

PowerDNS development began in 1999 and was originally a commercial proprietary product. In November 2002, the source code was made public under the open-source GPL v2 license.[5][6]

Features

[edit]

PowerDNS Authoritative Server (pdns_server) consists of a general purpose authoritative server, and multiple dynamically loadable backends that both run multi-threaded. The core handles all packet processing and DNS intelligence, while one or more backends deliver DNS records using arbitrary storage methods.

Zone transfers and update notifications are supported, and the processes can run unprivileged and chrooted. Various caches are maintained to speed up query processing. Run-time control is available through the pdns_control command, which allows reloading of separate zones, cache purges, zone notifications and dumps statistics in Multi Router Traffic Grapher / rrdtool format. Realtime information can also be obtained through the optional built-in web server.

There are many independent projects to create management interfaces for PowerDNS.

DNSSEC

[edit]

The PowerDNS Authoritative Server supports DNSSEC as of version 3.0. While pre-signed zones can be served, it is also possible to perform online signing & key management. This has the upside of being relatively easy, but the downside that the cryptographic keying material is present on the servers itself (which is also true of any HTTPS server when not used with a HSM for example).

Recursor

[edit]

PowerDNS Recursor (pdns_recursor[7]) is a resolving DNS server, that runs as a separate process.

This part of PowerDNS uses a combination of native threads and user-space threads, through the use of Boost and the MTasker library,[8] which is a simple cooperative multitasking library. It is also available as a standalone package.

It does not have to run a pdns_server process as a gatekeeper for pdns_recursor, if the goal is simply to provide caching/recursing/resolving nameservice as running pdns_recursor on its own is even more efficient than behind the authoritative component.

Support for DNSSEC validation was added to the pdns_recursor in version 4.0.

DNSdist

[edit]

PowerDNS DNSdist (dnsdist[9]) is a caching DNS proxy, with many features including:

  • Load Balancing of DNS Queries
  • DNS Encryption Support - DNS over HTTPS, DNS over TLS, both upstream and downstream (i.e. to clients and backends)
  • Lua Policy Engine - Extensive capabilities for creating rules for processing DNS packets, such as changing the response, re-routing a query or blocking traffic over a max QPS from a subnet.
  • Dynamic Rule Generation - Used to create Dynamic Blocks which are short-lived rules, automatically inserted based on configurable thresholds and the analysis of recently received traffic. Used to deal with DoS attacks

DNSdist is available as a standalone package, and can be deployed with PowerDNS Authoritative Server or Recursor, or any other third-party DNS server.

See also

[edit]

References

[edit]
  1. ^ "Changelogs for Authoritative Server 4.9.x". Retrieved 1 October 2024.
  2. ^ "Changelogs for Recursor 5.1.x". 2024-10-03. Retrieved 2024-10-03.
  3. ^ "Changelogs for DNSdist 1.9.6". 2024-10-04. Retrieved 2024-10-04.
  4. ^ Jeannerot, Christophe (21 October 2016). "POWERDNS [sic]". Azylis dot net (in French). Archived from the original on 27 July 2019. Retrieved 27 July 2019. Nous allons utiliser POWERDNS avec un stockage des tables DNS dans une base de données MARIADB.
  5. ^ Mens, Jan-Piet (2008). Alternative DNS Servers: Choice and Deployment, and Optional SQL/LDAP Back-Ends (Paperback). UIT Cambridge Ltd. p. 114. ISBN 978-0-9544529-9-5.
  6. ^ "About". PowerDNS. PowerDNS.COM BV. n.d. Retrieved 24 January 2019. PowerDNS was launched in 1999"; "Originally closed source"; "In 2002, all PowerDNS software was released as open source
  7. ^ "PowerDNS Recursor". Doc.powerdns.com. Retrieved 2014-05-11.
  8. ^ MTasker
  9. ^ "PowerDNS DNSdist". dnsdist.org. Retrieved 2023-05-11.
[edit]