]> git.ipfire.org Git - thirdparty/pdns.git/blame - docs/installation.rst
Merge pull request #7677 from rgacogne/dnsdist-logging-facility
[thirdparty/pdns.git] / docs / installation.rst
CommitLineData
0e2063c3
PL
1Installing PowerDNS
2===================
3
4Installation of the PowerDNS Authoritative server on UNIX systems can be
5done in several ways:
6
7- Binary packages provided by your distribution
8- Binary packages provided by PowerDNS on
9 `repo.powerdns.com <https://repo.powerdns.com>`__
10
11Binary Packages
12---------------
13
14Debian-based Systems
15~~~~~~~~~~~~~~~~~~~~
16
17PowerDNS Authoritative Server is available through the
18`apt <https://packages.debian.org/pdns-server>`__ system.
19
20::
21
22 # apt-get install pdns-server
23
24Debian splits the backends into `several different
25packages <https://packages.debian.org/pdns-backend>`__, install the
26required backend as follows:
27
28::
29
30 # apt-get install pdns-backend-$backend
31
32Redhat-based Systems
33~~~~~~~~~~~~~~~~~~~~
34
35On RedHat based system there are 2 options to install PowerDNS, from
36`EPEL <https://fedoraproject.org/wiki/EPEL>`__, the `repository from
37Kees Monshouwer <https://www.monshouwer.eu/download/3rd_party/pdns/>`__
38or from `the PowerDNS repositories <https://repo.powerdns.com>`__:
39
40Add either to your list of repositories and install PowerDNS by issuing:
41
42::
43
44 # yum install pdns
45
46The different backends can be installed using
47
48::
49
50 # yum install pdns-backend-$backend
51
52FreeBSD
53~~~~~~~
54
55PowerDNS Authoritative Server is available through the
56`ports <http://www.freshports.org/dns/powerdns/>`__ system:
57
58For the package:
59
60::
61
62 # pkg install dns/powerdns
63
64To have your system build the port:
65
66::
67
68 cd /usr/ports/dns/powerdns/ && make install clean
69
70Mac OS X
71~~~~~~~~
72
73PowerDNS Authoritative Server is available through Homebrew:
74
75::
76
77 $ brew install pdns
78
79After installation
80------------------
81
82Once installed, :doc:`guides/basic-database` using MySQL or start :doc:`migrating <migration>` your data.