Appendix D. Compiling PowerDNS

D.1. Compiling PowerDNS on Unix

Note

For now, see the Open Source PowerDNS site. ./configure ; make ; make install will do The Right Thing for most people.

PowerDNS can becompiled with modules built in, or with modules designed to be loaded at runtime. All that is configured before compiling using the well known autoconf/automake system.

To compile in modules, specify them as --with-modules="mod1 mod2 mod3", substituting the desired module names. Each backend has a module name in the table at the beginning of its section.

To compile a module for inclusion at runtime, which is great if you are a unix vendor, use --with-dynmodules="mod1 mod2 mod3". These modules then end up as .so files in the compiled libdir.

D.1.2. FreeBSD

Works fine, but use gmake. Pipe backend is currently broken, for reasons, see Section A.1. Due to the threading model of FreeBSD, PowerDNS does not benefit from additional CPUs on the system.