mirror of
https://github.com/saltstack-formulas/bind-formula.git
synced 2025-04-10 23:01:41 +00:00
Merge pull request #27 from daschatten/master
Add allow-transfer statement which disallows zone transfer by default.
This commit is contained in:
commit
3b9cd418cb
2 changed files with 8 additions and 0 deletions
|
@ -25,6 +25,11 @@ zone "{{ key }}" {
|
|||
{%- endfor %}
|
||||
};
|
||||
{%- endif %}
|
||||
allow-transfer {
|
||||
{% for remote in args.get('allow-transfer', {}) %}
|
||||
{{ remote }};
|
||||
{% endfor %}
|
||||
};
|
||||
{% if args['type'] == "master" -%}
|
||||
{% if args['notify'] -%}
|
||||
notify yes;
|
||||
|
|
|
@ -25,6 +25,9 @@ bind:
|
|||
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"
|
||||
|
|
Loading…
Add table
Reference in a new issue