]> git.ipfire.org Git - thirdparty/pdns.git/blame - README.md
Bring README.md in line with what we've been doing for the past 5 years.
[thirdparty/pdns.git] / README.md
CommitLineData
7d7b7179
JC
1PowerDNS is copyright Ⓒ 2012-2013 by PowerDNS.COM BV & lots of
2contributors, using the GNU GPLv2 license.
bdbf07f0 3
48cfdbc4 4All documentation can be found on http://doc.powerdns.com/
5
1d329048 6This file may lag behind at times. For most recent updates, always check
951b5a77 7http://doc.powerdns.com/changelog.html and http://wiki.powerdns.com
1d329048
BH
8
9Another good place to look for information is:
10http://doc.powerdns.com/compiling-powerdns.html
11
2847a0d2 12To file bugs, head towards:
7d7b7179 13https://github.com/PowerDNS/pdns/issues
2847a0d2 14
7d7b7179 15But please check if the issue is already reported there first.
da5d2b0f 16
48cfdbc4 17SOURCE CODE / GIT
18-----------------
19
20Source code is available on GitHub:
21
22 $ git clone https://github.com/PowerDNS/pdns.git
23
24This repository contains the sources both for the PowerDNS Recursor and for PowerDNS Authoritative Server,
25and both can be built from this repository. Both are released separately as .tar.gz, .deb and .rpm however!
26
27COMPILING Authoritative Server
28------------------------------
29PowerDNS Authoritative Server 3.0 and beyond depend on Boost.
da82f61d 30
48cfdbc4 31On Debian 7.0, the following is useful:
1d329048 32
48cfdbc4 33 apt-get install autoconf automake bison flex g++ git libboost-all-dev libtool make pkg-config ragel
34
d022a079 35To compile a very clean version, use:
2e938e5d 36
48cfdbc4 37 $ ./configure --with-modules="" --without-lua
7d7b7179
JC
38 $ make
39 # make install
2e938e5d 40
48cfdbc4 41This generates a PowerDNS Authoritative Server binary with no modules, except the bind backend,
42built in.
1d329048
BH
43
44When ./configure is run without --with-modules, the gmysql module is
45built-in by default and the pipe-backend is compiled for runtime loading.
2e938e5d
BH
46
47To add multiple modules, try:
48
7d7b7179 49 $ ./configure --with-modules="gmysql gpgsql"
2e938e5d 50
48cfdbc4 51See http://doc.powerdns.com/compiling-powerdns.html for more details.
343546e5 52
1d329048 53Please don't use the 'mysql' backend, it is deprecated. Use the 'gmysql'
7d7b7179
JC
54one!
55
48cfdbc4 56COMPILING THE RECURSOR
57----------------------
58Either use ./configure --enable-recursor or explicitly do 'make pdns_recursor'. Releases
59are built by first running dist-recursor and compiling from the pdns-recursor-x.y subdirectory.
bdc9f8d2 60
343546e5
BH
61SOLARIS NOTES
62-------------
178d5134
BH
63You need gcc 3.x, preferably 3.2! The 'Sunpro' compiler is currently not
64supported (patches are welcome if not too intrusive).
152b4591 65
48cfdbc4 66If you encounter problems with the Solaris make, gmake is advised.
343546e5
BH
67
68FREEBSD NOTES
69-------------
48cfdbc4 70You need to compile using gmake - regular make only appears to work, but doesn't in fact. Use gmake, not make.
5088e8bc 71
7d7b7179
JC
72MAC OS X NOTES
73--------------
74
75PowerDNS is available through Homebrew:
76
77 $ brew install pdns
78
79If you want to compile yourself, the dependencies can be installed using
80Homebrew:
81
cb4bdee7 82 $ brew install boost lua pkg-config ragel
7d7b7179
JC
83
84For PostgreSQL support:
85
86 $ brew install postgresql
87
88For MySQL support:
89
90 $ brew install mariadb
91
343546e5
BH
92LINUX NOTES
93-----------
94None really.
12e6d4a9 95
12e6d4a9 96