C++ DIGITAL Command Language JavaScript Python Shell M4 Other
Latest commit 74b3d72 Jul 22, 2016 @ahupowerdns ahupowerdns committed on GitHub Merge pull request #4205 from rgacogne/dnsdist-downstream-any
dnsdist: Prevent the use of "any" addresses for downstream server
Failed to load latest commit information.
build-aux Properly print version in autoconf for releases Mar 9, 2016
build-scripts Create tinydns backend packages for CentOS 7 Jul 20, 2016
codedocs update our doxygen configuration Sep 1, 2005
contrib Add protobuf fields for the query's time in the response Jul 6, 2016
docs Merge pull request #4211 from pieterlexis/secpoll-400-unsupported Jul 22, 2016
ext Merge pull request #4006 from rgacogne/dnsdist-ebpf Jun 24, 2016
m4 Use single equal sign when calling test(1) Jul 11, 2016
modules Merge pull request #4044 from cmouse/dnspacket-comboaddr Jul 19, 2016
pdns Merge pull request #4205 from rgacogne/dnsdist-downstream-any Jul 22, 2016
regression-tests.api API: change PATCH/PUT on zones to return 204 No Content instead of fu… Jun 10, 2016
regression-tests.dnsdist dnsdist: Add `QNameLabelsCountRule()` and `QNameWireLengthRule()` Jul 5, 2016
regression-tests.nobackend Fix a failing test Jul 1, 2016
regression-tests.recursor-dnssec Add test for island of security (#4181) Jul 15, 2016
regression-tests.recursor Use absolute paths for RECCONTROL etc. Jun 23, 2016
regression-tests.rootzone add AXFR to root zone tests Mar 29, 2016
regression-tests Fix the rec_control manual test Jun 23, 2016
.gitignore Ignore pdns_recursor.pid Mar 22, 2016
.travis.yml Split travis between the products Apr 11, 2016
.valgrindrc Add suppression file for valgrind, and turn it on Aug 21, 2013
AUTHORS and auto* loves authors too Apr 30, 2010
COPYING update GPLv2 license text, thanks Morten Stevens Dec 5, 2012
INSTALL Various documentation cleanups Dec 22, 2015
Makefile.am auth Install systemd unit file May 4, 2016
NEWS Various documentation cleanups Dec 22, 2015
NOTICE limit accidental scope expansion, thanks @zeha Oct 25, 2013
README Create soft link from README to README.md May 4, 2013
README.md document C++11 ABI issue Jul 5, 2016
bootstrap Don't run automake twice Oct 5, 2014
configure.ac Use single equal sign when calling test(1) Jul 11, 2016
pdns.supp Add suppression file for valgrind, and turn it on Aug 21, 2013


PowerDNS is copyright © 2002-2016 by PowerDNS.COM BV and lots of contributors, using the GNU GPLv2 license (see NOTICE for the exact license and exception used).

All documentation can be found on http://doc.powerdns.com/

This file may lag behind at times. For most recent updates, always check https://doc.powerdns.com/md/changelog/.

Another good place to look for information is: https://doc.powerdns.com/md/appendix/compiling-powerdns/

To file bugs, head towards: https://github.com/PowerDNS/pdns/issues

But please check if the issue is already reported there first.


Source code is available on GitHub:

$ git clone https://github.com/PowerDNS/pdns.git

This repository contains the sources for the PowerDNS Recursor, the PowerDNS Authoritative Server, and dnsdist (a powerful DNS loadbalancer). All three can be built from this repository. However, all three released separately as .tar.bz2, .deb and .rpm.

COMPILING Authoritative Server

The PowerDNS Authoritative Server depends on Boost, OpenSSL and requires a compiler with C++-2011 support.

On Debian 8.0, the following is useful:

$ apt-get install g++ libboost-all-dev libtool make pkg-config libmysqlclient-dev libssl-dev

When building from git, the following packages are also required: autoconf, automake, ragel, bison and flex, then generate the configure file:

$ ./bootstrap

To compile a very clean version, use:

$ ./configure --with-modules="" --without-lua
$ make
# make install

This generates a PowerDNS Authoritative Server binary with no modules built in.

When ./configure is run without --with-modules, the bind and gmysql module are built-in by default and the pipe-backend is compiled for runtime loading.

To add multiple modules, try:

$ ./configure --with-modules="bind gmysql gpgsql"

Note that you will need the development headers for PostgreSQL as well in this case.

See https://doc.powerdns.com/md/appendix/compiling-powerdns/ for more details.

If you run into C++11-related symbol trouble, please try passing CPPFLAGS=-D_GLIBCXX_USE_CXX11_ABI=0 (or 1) to ./configure to make sure you are compatible with the installed dependencies.


See the README in pdns/recursordist.


See the README in pdns/dnsdistdist.


Use a recent gcc. OpenCSW is a good source, as is Solaris 11 IPS.

If you encounter problems with the Solaris make, gmake is advised.


You need to compile using gmake - regular make only appears to work, but doesn't in fact. Use gmake, not make.


PowerDNS Authoritative Server is available through Homebrew:

$ brew install pdns

If you want to compile yourself, the dependencies can be installed using Homebrew:

$ brew install boost lua pkg-config ragel

For PostgreSQL support:

$ brew install postgresql

For MySQL support:

$ brew install mariadb


None really.