Getting the latest PowerDNS sources to work on

Most users are well served by our precompiled packages, or those shipped by the Linux/Unix? distribution, and others can compile from the source tarballs available on  the downloads page.

However, to get really involved in PowerDNS development, or to test the latest features, you need to be able to build from GitHub?.

The descriptions below are intended for developers or for advanced users willing to experiment!


 is the Git repository


Regularly, snapshots are made available. Check them out on

Building from GitHub?

To retrieve the latest version, do:

$ git clone
$ cd pdns
$ ./bootstrap
$ ./configure

This will generate a directory called pdns, containing the very latest version of our sources.

Building the recursor from Subversion

This is pretty easy, enter the pdns directory and run './dist-recursor'. This generates a directory called pdns-recursor-x.y.z, where x, y and z are version dependent. Enter this directory, and run 'make'.

Building the Authoritative Server from Subversion

For technical reasons an additional step called 'bootstrapping' is needed before you can compile. In order for this to work you need to have installed:

  • autoconf 2.59
  • automake 1.6 or 1.9.4
  • libtool 1.5.6
  • pkg-config

Required packages for building on …

Debian lenny

aptitude install build-essential asciidoc xmlto zip subversion libboost1.40-all-dev bison flex ragel pkg-config libtolua++5.1-dev

Note: you must enable for libboost1.40-all-dev.