]> git.ipfire.org Git - thirdparty/pdns.git/blame - README
Congratulations!
[thirdparty/pdns.git] / README
CommitLineData
a3fa3228 1PowerDNS is copyright 2012 by PowerDNS.COM BV & lots of contributors
bdbf07f0 2
1d329048 3This file may lag behind at times. For most recent updates, always check
951b5a77 4http://doc.powerdns.com/changelog.html and http://wiki.powerdns.com
1d329048
BH
5
6Another good place to look for information is:
7http://doc.powerdns.com/compiling-powerdns.html
8
2847a0d2
BH
9To file bugs, head towards:
10
da8cb6b2 11 https://github.com/PowerDNS/pdns/issues
2847a0d2
BH
12
13but first check existing ones:
14
da8cb6b2 15 https://github.com/PowerDNS/pdns/issues
da5d2b0f 16
1d329048
BH
17COMPILING
18---------
da82f61d
BH
19PowerDNS 3.0 and beyond depend on Lua and Boost. To get these libraries,
20install the relevant packages. On Debian and Ubunty, try:
21
22# apt-get install g++ libboost-program-options-dev
23 libboost-serialization-dev libpqclient-dev libmysqlclient-dev
24 libsqlite3-dev libpq-dev
1d329048 25
d022a079 26To compile a very clean version, use:
2e938e5d 27
1d329048 28$ ./configure --with-modules=""
2e938e5d
BH
29$ make
30# make install
31
32This generates a PowerDNS binary with no modules, except the bind backend,
1d329048
BH
33built in, and the pipe-backend available for runtime loading.
34
35When ./configure is run without --with-modules, the gmysql module is
36built-in by default and the pipe-backend is compiled for runtime loading.
2e938e5d
BH
37
38To add multiple modules, try:
39
1d329048 40$ ./configure --with-modules="gmysql gpgsql"
2e938e5d 41
343546e5
BH
42See http://rtfm.powerdns.com/compiling-powerdns.html for more details.
43
1d329048
BH
44Please don't use the 'mysql' backend, it is deprecated. Use the 'gmysql'
45one!
e5e9d0b4 46
951b5a77
BH
47SUBVERSION / CVS
48----------------
951b5a77 49If you need code from SVN read HACKING
bdc9f8d2 50
343546e5
BH
51SOLARIS NOTES
52-------------
178d5134
BH
53You need gcc 3.x, preferably 3.2! The 'Sunpro' compiler is currently not
54supported (patches are welcome if not too intrusive).
152b4591 55
343546e5
BH
56If you encounter problems with the Solaris make, gmake is advised
57
1d329048
BH
58IPv6 is broken in Solaris 2.7, use 2.8 or higher for that. PowerDNS on
59Solaris 2.7 won't even serve AAAA records.
343546e5
BH
60
61FREEBSD NOTES
62-------------
1d329048
BH
63gcc 2.95.x works. You need to compile using gmake - regular make only
64appears to work, but doesn't in fact. Use gmake, not make.
343546e5 65
5088e8bc
BH
66pipebackend does not work due to bad interaction between fork and pthreads.
67Amazingly, running the Linux version under the linuxulator DOES work!
68
343546e5
BH
69LINUX NOTES
70-----------
71None really.
12e6d4a9 72
e5e9d0b4
BH
73WIN32 NOTES
74-----------
1d329048 75See http://rtfm.powerdns.com/compiling-powerdns.html#ON-WINDOWS
e5e9d0b4
BH
76
77Needs Visual C++
78
12e6d4a9
BH
79---
80
81After compiling, you may find the file 'pdns/pdns' helpful, we suggest you
82place it in /etc/init.d/ or your operating system's equivalent.
83