blob: 3be2edb17ac789a19ac1e07221536ebd62f1c3da [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
Filip Pytloun57435b22016-10-06 11:30:16 +020013 server:
14 8.8.8.8:
15 keys:
16 - keyname
Ales Komarek712343b2014-09-22 11:36:17 +020017 zone:
18 sub.domain.com:
Filip Pytloun52aa75d2016-02-26 17:14:54 +010019 ttl: 86400
20 root: "hostmaster@domain.com"
Ales Komarek712343b2014-09-22 11:36:17 +020021 type: master
Ales Komarekce71bf92014-09-30 11:35:30 +020022 records:
23 - name: @
24 type: A
25 ttl: 7200
26 value: 192.168.0.5
Ales Komarek712343b2014-09-22 11:36:17 +020027 1.168.192.in-addr.arpa:
28 type: master
Ales Komarekce71bf92014-09-30 11:35:30 +020029 notify: false
Filip Pytlounfaf8bbc2016-02-26 16:32:20 +010030 slave.domain.com:
31 type: slave
32 notify: true
33 masters:
Filip Pytloun52aa75d2016-02-26 17:14:54 +010034 # Masters must be specified by IP address
35 - 8.8.8.8
36 - 8.8.4.4
Filip Pytlounfaf8bbc2016-02-26 16:32:20 +010037 dnssec:
38 enabled: true
39 # Don't hide version
40 version: true
41 # Allow recursion, better don't on public dns servers
42 recursion:
43 hosts:
44 - localhost
Ales Komarekfbfa1682014-09-22 11:31:14 +020045
Ales Komarekfbfa1682014-09-22 11:31:14 +020046## Read more
Ales Komarek2bf43322014-09-22 13:03:41 +020047
Ales Komarekce71bf92014-09-30 11:35:30 +020048* https://github.com/theforeman/puppet-dns
Filip Pytlounfaf8bbc2016-02-26 16:32:20 +010049* https://help.ubuntu.com/community/BIND9ServerHowto