mirror of
https://github.com/saltstack-formulas/bind-formula.git
synced 2025-04-16 01:30:22 +00:00
46 lines
857 B
Text
46 lines
857 B
Text
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
|
|
|
|
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
|
|
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
|
|
|
|
bind:
|
|
available_zones:
|
|
sub.domain.org:
|
|
file: db.sub.domain.org
|
|
masters: "192.168.0.1;"
|