Ales Komarek | 882ac7b | 2014-07-14 10:47:56 +0200 | [diff] [blame] | 1 | |
2 | # Bind DNS service | ||||
3 | |||||
Ales Komarek | fbfa168 | 2014-09-22 11:31:14 +0200 | [diff] [blame] | 4 | ## Sample pillars |
Ales Komarek | 882ac7b | 2014-07-14 10:47:56 +0200 | [diff] [blame] | 5 | |
Ales Komarek | 712343b | 2014-09-22 11:36:17 +0200 | [diff] [blame] | 6 | bind: |
7 | server: | ||||
8 | enabled: true | ||||
9 | zone: | ||||
10 | sub.domain.com: | ||||
11 | type: master | ||||
Ales Komarek | ce71bf9 | 2014-09-30 11:35:30 +0200 | [diff] [blame] | 12 | records: |
13 | - name: @ | ||||
14 | type: A | ||||
15 | ttl: 7200 | ||||
16 | value: 192.168.0.5 | ||||
Ales Komarek | 712343b | 2014-09-22 11:36:17 +0200 | [diff] [blame] | 17 | 1.168.192.in-addr.arpa: |
18 | type: master | ||||
Ales Komarek | ce71bf9 | 2014-09-30 11:35:30 +0200 | [diff] [blame] | 19 | notify: false |
Filip Pytloun | faf8bbc | 2016-02-26 16:32:20 +0100 | [diff] [blame^] | 20 | 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 Komarek | fbfa168 | 2014-09-22 11:31:14 +0200 | [diff] [blame] | 34 | |
Ales Komarek | fbfa168 | 2014-09-22 11:31:14 +0200 | [diff] [blame] | 35 | ## Read more |
Ales Komarek | 2bf4332 | 2014-09-22 13:03:41 +0200 | [diff] [blame] | 36 | |
Ales Komarek | ce71bf9 | 2014-09-30 11:35:30 +0200 | [diff] [blame] | 37 | * https://github.com/theforeman/puppet-dns |
Filip Pytloun | faf8bbc | 2016-02-26 16:32:20 +0100 | [diff] [blame^] | 38 | * https://help.ubuntu.com/community/BIND9ServerHowto |