Add pyrocufflink-dns group

The *pyrocufflink-dns* group specifies the BIND configuration for the
primary DNS servers on the "new" Pyrocufflink network.
jenkins-master
Dustin 2018-02-21 22:42:18 -06:00
parent 5ed1b23321
commit 71f28dfee2
2 changed files with 63 additions and 0 deletions

View File

@ -0,0 +1,58 @@
named_listen:
- addresses:
- any
named_listen_v6:
- addresses:
- any
named_allow_query:
- any
named_dnssec_validation: false
named_zones:
- zone: pyrocufflink.red
type: master
default_records:
- name:
value: 172.30.0.4
- name:
type: AAAA
value: 2605:6000:3ccc:fb00::4:1
allow_update:
- '{ !{ !172.30.0.1; any; }; key dhcp-ddns; }'
- '{ !{ !localhost; any; }; key local-ddns; }'
ttl: 30
- zone: 1.31.172.in-addr.arpa
type: master
allow_update:
- '{ !{ !172.30.0.1; any; }; key dhcp-ddns; }'
- '{ !{ !localhost; any; }; key local-ddns; }'
ttl: 30
- zone: pyrocufflink.blue
type: forward
forward: only
forwarders:
- 172.30.0.10
- 172.30.0.9
- zone: 0.30.172.in-addr.arpa
type: forward
forward: only
forwarders:
- 172.30.0.10
- 172.30.0.9
- zone: pyrocufflink.jazz
type: forward
forward: only
forwarders:
- 172.31.0.4
- 172.31.0.10
- zone: 0.31.172.in-addr.arpa
type: forward
forward: only
forwarders:
- 172.31.0.4
- 172.31.0.10
named_keys:
- name: dhcp-ddns
algorithm: hmac-md5
secret: +0zVSpY8oFrxl2F1qB8tT2HMgbuD31JurL9w4zilNCg=

5
hosts
View File

@ -8,3 +8,8 @@ dc1.pyrocufflink.blue ansible_host=2605:6000:3ccc:fb00::9:1
[samba-dc] [samba-dc]
dc0.pyrocufflink.blue dc0.pyrocufflink.blue
dc1.pyrocufflink.blue dc1.pyrocufflink.blue
[pyrocufflink-dns]
[named-server:children]
pyrocufflink-dns