Installing PowerDNS

Installation of the PowerDNS Authoritative server on UNIX systems can be done in several ways:

  • Binary packages provided by your distribution
  • Binary packages provided by PowerDNS on repo.powerdns.com

Binary Packages

Debian-based Systems

PowerDNS Authoritative Server is available through the apt system. Your distribution likely ships a package, but we recommend getting more recent packages from the PowerDNS repositories. Please see the instructions on the repo site and then come back here!

$ sudo apt-get install pdns-server

Debian splits the backends into several different packages, install the required backend as follows:

$ sudo apt-get install pdns-backend-$backend

Redhat-based Systems

On RedHat based systems there are 3 options to install PowerDNS, from EPEL, the repository from Kees Monshouwer or from the PowerDNS repositories:

Add either to your list of repositories and install PowerDNS by issuing:

$ sudo yum install pdns

The different backends can be installed using

$ sudo yum install pdns-backend-$backend

Note that for some of those package sources, the bind backend is shipped as part of the base pdns package, and there is no separate pdns-backend-bind package.

FreeBSD

PowerDNS Authoritative Server is available through the ports system:

For the package:

$ sudo pkg install dns/powerdns

To have your system build the port:

cd /usr/ports/dns/powerdns/ && make install clean

Mac OS X

PowerDNS Authoritative Server is available through Homebrew:

$ brew install pdns

After installation

Once installed, try Basic setup: configuring database connectivity using SQLite 3 or start migrating your data.