blob: c36f6785924f6e8dff1b82cbe4f4c4ea3aa92626 [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:
Filip Pytloun52aa75d2016-02-26 17:14:54 +010011 ttl: 86400
12 root: "hostmaster@domain.com"
Ales Komarek712343b2014-09-22 11:36:17 +020013 type: master
Ales Komarekce71bf92014-09-30 11:35:30 +020014 records:
15 - name: @
16 type: A
17 ttl: 7200
18 value: 192.168.0.5
Ales Komarek712343b2014-09-22 11:36:17 +020019 1.168.192.in-addr.arpa:
20 type: master
Ales Komarekce71bf92014-09-30 11:35:30 +020021 notify: false
Filip Pytlounfaf8bbc2016-02-26 16:32:20 +010022 slave.domain.com:
23 type: slave
24 notify: true
25 masters:
Filip Pytloun52aa75d2016-02-26 17:14:54 +010026 # Masters must be specified by IP address
27 - 8.8.8.8
28 - 8.8.4.4
Filip Pytlounfaf8bbc2016-02-26 16:32:20 +010029 dnssec:
30 enabled: true
31 # Don't hide version
32 version: true
33 # Allow recursion, better don't on public dns servers
34 recursion:
35 hosts:
36 - localhost
Ales Komarekfbfa1682014-09-22 11:31:14 +020037
Ales Komarekfbfa1682014-09-22 11:31:14 +020038## Read more
Ales Komarek2bf43322014-09-22 13:03:41 +020039
Ales Komarekce71bf92014-09-30 11:35:30 +020040* https://github.com/theforeman/puppet-dns
Filip Pytlounfaf8bbc2016-02-26 16:32:20 +010041* https://help.ubuntu.com/community/BIND9ServerHowto