blob: 33e14718aa322aeaa91979209229050d838e0e51 [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
Filip Pytloun5299d072016-10-06 11:23:21 +02009 key:
10 keyname:
11 secret: xyz
12 algorithm: hmac-sha512
Ales Komarek712343b2014-09-22 11:36:17 +020013 zone:
14 sub.domain.com:
Filip Pytloun52aa75d2016-02-26 17:14:54 +010015 ttl: 86400
16 root: "hostmaster@domain.com"
Ales Komarek712343b2014-09-22 11:36:17 +020017 type: master
Ales Komarekce71bf92014-09-30 11:35:30 +020018 records:
19 - name: @
20 type: A
21 ttl: 7200
22 value: 192.168.0.5
Ales Komarek712343b2014-09-22 11:36:17 +020023 1.168.192.in-addr.arpa:
24 type: master
Ales Komarekce71bf92014-09-30 11:35:30 +020025 notify: false
Filip Pytlounfaf8bbc2016-02-26 16:32:20 +010026 slave.domain.com:
27 type: slave
28 notify: true
29 masters:
Filip Pytloun52aa75d2016-02-26 17:14:54 +010030 # Masters must be specified by IP address
31 - 8.8.8.8
32 - 8.8.4.4
Filip Pytlounfaf8bbc2016-02-26 16:32:20 +010033 dnssec:
34 enabled: true
35 # Don't hide version
36 version: true
37 # Allow recursion, better don't on public dns servers
38 recursion:
39 hosts:
40 - localhost
Ales Komarekfbfa1682014-09-22 11:31:14 +020041
Ales Komarekfbfa1682014-09-22 11:31:14 +020042## Read more
Ales Komarek2bf43322014-09-22 13:03:41 +020043
Ales Komarekce71bf92014-09-30 11:35:30 +020044* https://github.com/theforeman/puppet-dns
Filip Pytlounfaf8bbc2016-02-26 16:32:20 +010045* https://help.ubuntu.com/community/BIND9ServerHowto