Bind DNS service
Sample pillars
bind:
server:
enabled: true
zone:
sub.domain.com:
ttl: 86400
root: "hostmaster@domain.com"
type: master
records:
- name: @
type: A
ttl: 7200
value: 192.168.0.5
1.168.192.in-addr.arpa:
type: master
notify: false
slave.domain.com:
type: slave
notify: true
masters:
# Masters must be specified by IP address
- 8.8.8.8
- 8.8.4.4
dnssec:
enabled: true
# Don't hide version
version: true
# Allow recursion, better don't on public dns servers
recursion:
hosts:
- localhost
Read more