1 PowerDNS is copyright © 2002-2016 by PowerDNS.COM BV and lots of
2 contributors, using the GNU GPLv2 license (see NOTICE for the
3 exact license and exception used).
5 All documentation can be found on http://doc.powerdns.com/
7 This file may lag behind at times. For most recent updates, always check
8 https://doc.powerdns.com/md/changelog/.
10 Another good place to look for information is:
11 https://doc.powerdns.com/md/appendix/compiling-powerdns/
13 To file bugs, head towards:
14 https://github.com/PowerDNS/pdns/issues
16 But please check if the issue is already reported there first.
20 Source code is available on GitHub:
23 $ git clone https://github.com/PowerDNS/pdns.git
26 This repository contains the sources for the PowerDNS Recursor, the PowerDNS
27 Authoritative Server, and dnsdist (a powerful DNS loadbalancer). All three can
28 be built from this repository. However, all three released separately as .tar.bz2,
31 COMPILING Authoritative Server
32 ------------------------------
33 The PowerDNS Authoritative Server depends on Boost, OpenSSL and requires a
34 compiler with C++-2011 support.
36 On Debian 8.0, the following is useful:
39 $ apt-get install g++ libboost-all-dev libtool make pkg-config libmysqlclient-dev libssl-dev
42 When building from git, the following packages are also required: autoconf, automake,
43 ragel, bison and flex, then generate the configure file:
49 To compile a very clean version, use:
52 $ ./configure --with-modules="" --without-lua
57 This generates a PowerDNS Authoritative Server binary with no modules built in.
59 When `./configure` is run without `--with-modules`, the bind and gmysql module are
60 built-in by default and the pipe-backend is compiled for runtime loading.
62 To add multiple modules, try:
65 $ ./configure --with-modules="bind gmysql gpgsql"
68 Note that you will need the development headers for PostgreSQL as well in this case.
70 See https://doc.powerdns.com/md/appendix/compiling-powerdns/ for more details.
72 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.
74 COMPILING THE RECURSOR
75 ----------------------
76 See the README in pdns/recursordist.
79 ----------------------
80 See the README in pdns/dnsdistdist.
84 Use a recent gcc. OpenCSW is a good source, as is Solaris 11 IPS.
86 If you encounter problems with the Solaris make, gmake is advised.
90 You need to compile using gmake - regular make only appears to work, but doesn't in fact. Use gmake, not make.
94 PowerDNS Authoritative Server is available through Homebrew:
100 If you want to compile yourself, the dependencies can be installed using
104 $ brew install boost lua pkg-config ragel
107 For PostgreSQL support:
110 $ brew install postgresql
116 $ brew install mariadb