blob: ca5d65b361bd3d34f70d4f821b7868e5fc6aae6b [file] [log] [blame] [view]
Ales Komarek882ac7b2014-07-14 10:47:56 +02001
2# Bind DNS service
3
Ales Komarekfbfa1682014-09-22 11:31:14 +02004## Sample pillars
Ales Komarek882ac7b2014-07-14 10:47:56 +02005
Ales Komarek712343b2014-09-22 11:36:17 +02006 bind:
7 server:
8 enabled: true
9 zone:
10 sub.domain.com:
11 type: master
Ales Komarekce71bf92014-09-30 11:35:30 +020012 records:
13 - name: @
14 type: A
15 ttl: 7200
16 value: 192.168.0.5
Ales Komarek712343b2014-09-22 11:36:17 +020017 1.168.192.in-addr.arpa:
18 type: master
Ales Komarekce71bf92014-09-30 11:35:30 +020019 notify: false
Filip Pytlounfaf8bbc2016-02-26 16:32:20 +010020 slave.domain.com:
21 type: slave
22 notify: true
23 masters:
24 - dns01.domain.com
25 - dns02.domain.com
26 dnssec:
27 enabled: true
28 # Don't hide version
29 version: true
30 # Allow recursion, better don't on public dns servers
31 recursion:
32 hosts:
33 - localhost
Ales Komarekfbfa1682014-09-22 11:31:14 +020034
Ales Komarekfbfa1682014-09-22 11:31:14 +020035## Read more
Ales Komarek2bf43322014-09-22 13:03:41 +020036
Ales Komarekce71bf92014-09-30 11:35:30 +020037* https://github.com/theforeman/puppet-dns
Filip Pytlounfaf8bbc2016-02-26 16:32:20 +010038* https://help.ubuntu.com/community/BIND9ServerHowto