added basic README.md
This commit is contained in:
parent
61a25c27af
commit
97dda638a5
2 changed files with 67 additions and 1 deletions
66
README.md
Normal file
66
README.md
Normal file
|
|
@ -0,0 +1,66 @@
|
||||||
|
# PowerDNS
|
||||||
|
|
||||||
|
All configuration is to be placed inside the `powerdns` dict.
|
||||||
|
|
||||||
|
```
|
||||||
|
# key:value of config values
|
||||||
|
config:
|
||||||
|
"allow-axfr-ips":
|
||||||
|
- ::1
|
||||||
|
- 127.0.0.0/8
|
||||||
|
"bind-config": /etc/powerdns/backends/bind.conf
|
||||||
|
"config-dir": /etc/powerdns
|
||||||
|
"daemon": "yes"
|
||||||
|
"default-ttl": 3600
|
||||||
|
"guardian": "yes"
|
||||||
|
"include-dir": "/etc/powerdns/pdns.d"
|
||||||
|
"launch":
|
||||||
|
bind: {}
|
||||||
|
"master": "no"
|
||||||
|
"reuseport": "yes"
|
||||||
|
"setgid": pdns
|
||||||
|
"setuid": pdns
|
||||||
|
"slave": "no"
|
||||||
|
"soa-minimum-ttl": 300
|
||||||
|
"tcp-control-secret": "{{ lookup('password', '/dev/null length=64') }}"
|
||||||
|
"version-string": "1"
|
||||||
|
# name: *zonemeta*, define meta data for zones. See below for definition
|
||||||
|
zonemeta: {}
|
||||||
|
|
||||||
|
# defaults for zone metadata, See **zonemeta** for definition.
|
||||||
|
zonemeta_defaults:
|
||||||
|
type: native
|
||||||
|
"allow-query":
|
||||||
|
- any
|
||||||
|
"allow-update":
|
||||||
|
- none
|
||||||
|
"allow-transfer":
|
||||||
|
- none
|
||||||
|
"slaves":
|
||||||
|
- none
|
||||||
|
|
||||||
|
# name: **zone**, define all dns zones. See below for definition.
|
||||||
|
zones: {}
|
||||||
|
|
||||||
|
```
|
||||||
|
|
||||||
|
**zonemeta**
|
||||||
|
```
|
||||||
|
# Can be master/slave/native
|
||||||
|
# See https://doc.powerdns.com/authoritative/backends/bind.html#master-slave-native-configuration
|
||||||
|
type: native
|
||||||
|
|
||||||
|
"allow-query":
|
||||||
|
- any
|
||||||
|
"allow-update":
|
||||||
|
- none
|
||||||
|
"allow-transfer":
|
||||||
|
- none
|
||||||
|
"slaves":
|
||||||
|
- none
|
||||||
|
|
||||||
|
```
|
||||||
|
|
||||||
|
## zone**
|
||||||
|
```
|
||||||
|
```
|
||||||
|
|
@ -21,7 +21,7 @@ powerdns:
|
||||||
"version-string": "1"
|
"version-string": "1"
|
||||||
zonemeta: {}
|
zonemeta: {}
|
||||||
zonemeta_defaults:
|
zonemeta_defaults:
|
||||||
type: master
|
type: native
|
||||||
"allow-query":
|
"allow-query":
|
||||||
- any
|
- any
|
||||||
"allow-update":
|
"allow-update":
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue