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