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