forked from saltstack-formulas/bind-formula
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pillar.example
53 lines (49 loc) · 1.11 KB
/
pillar.example
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
bind:
lookup:
pkgs:
- bind
service: named
bind:
config:
tmpl: salt://bind/files/debian/named.conf
user: root
group: named
mode: 640
options:
allow-recursion: '{ any; };' # Never include this on a public resolver
# force bind to serve only one IP protocol (ipv4: 4, ipv6: 6). omitting this reverts to binds default of both.
protocol: 4
bind:
keys:
"core_dhcp":
secret: "YourSecretKey"
configured_zones:
sub.domain.com:
type: master
notify: False
1.168.192.in-addr.arpa:
type: master
notify: False
allow-transfer:
- 1.1.1.1
- 2.2.2.2
dynamic.domain.com:
type: master
allow-update: "key core_dhcp"
notify: True
configured_views:
myview1:
match_clients:
- client1
- client2
configured_zones:
my.zone:
type: master
notify: False
update_policy:
- "grant core_dhcp name dns_entry_allowed_to_update. ANY"
bind:
available_zones:
sub.domain.org:
file: db.sub.domain.org
masters: "192.168.0.1;"