Ales Komarek | d5029c8 | 2015-01-07 13:58:23 +0100 | [diff] [blame] | 1 | |
| 2 | ======== |
| 3 | PowerDNS |
| 4 | ======== |
| 5 | |
Ales Komarek | 347430d | 2015-01-07 17:41:49 +0100 | [diff] [blame] | 6 | Sample pillar: |
Ales Komarek | d5029c8 | 2015-01-07 13:58:23 +0100 | [diff] [blame] | 7 | |
Ales Komarek | 347430d | 2015-01-07 17:41:49 +0100 | [diff] [blame] | 8 | PowerDNS server with MySQL backend |
Ales Komarek | d5029c8 | 2015-01-07 13:58:23 +0100 | [diff] [blame] | 9 | |
Ivan Suzdal | 67bcad5 | 2017-05-26 18:45:54 +0300 | [diff] [blame] | 10 | .. code-block:: yaml |
| 11 | powedns: |
| 12 | server: |
| 13 | enabled: true |
| 14 | backend: |
| 15 | engine: mysql |
| 16 | host: localhost |
| 17 | port: 3306 |
| 18 | name: pdns |
| 19 | user: pdns |
| 20 | password: password |
| 21 | bind: |
| 22 | address: 0.0.0.0 |
| 23 | port: 53 |
Ivan Suzdal | 52f8930 | 2017-06-14 20:24:25 +0300 | [diff] [blame^] | 24 | axfr_ips: |
| 25 | - 10.11.0.0/16 |
| 26 | - 127.0.0.1 |
| 27 | api: |
| 28 | enabled: true |
| 29 | key: SecurePass |
| 30 | webserver: |
| 31 | enabled: true |
| 32 | password: SuperSecurePass |
| 33 | address: 0.0.0.0 |
| 34 | port: 8081 |
| 35 | |
Ivan Suzdal | 67bcad5 | 2017-05-26 18:45:54 +0300 | [diff] [blame] | 36 | |
| 37 | PowerDNS server with sqlite backend |
| 38 | |
| 39 | .. code-block:: yaml |
| 40 | powerdns: |
| 41 | server: |
| 42 | enabled: true |
| 43 | backend: |
| 44 | engine: sqlite |
| 45 | dbname: pdns.sqlite |
| 46 | dbpath: /var/lib/powerdns |
| 47 | bind: |
| 48 | address: 127.0.0.1 |
| 49 | port: 55 |
| 50 | default-soa-name: ns1.domain.tld |
| 51 | soa-minimum-ttl: 3600 |
Ivan Suzdal | 52f8930 | 2017-06-14 20:24:25 +0300 | [diff] [blame^] | 52 | api: |
| 53 | enabled: true |
| 54 | key: SecurePass |
| 55 | webserver: |
| 56 | enabled: true |
| 57 | password: SuperSecurePass |
| 58 | address: 0.0.0.0 |
| 59 | port: 8081 |
Ivan Suzdal | 67bcad5 | 2017-05-26 18:45:54 +0300 | [diff] [blame] | 60 | |
Ales Komarek | d5029c8 | 2015-01-07 13:58:23 +0100 | [diff] [blame] | 61 | |
| 62 | Read more |
Ales Komarek | fba5da9 | 2015-01-08 07:20:58 +0100 | [diff] [blame] | 63 | ========= |