mirror of
https://github.com/saltstack-formulas/bind-formula.git
synced 2025-04-15 17:20:21 +00:00
Merge pull request #82 from ppieprzycki/dl_features
Missing rndc.conf file
This commit is contained in:
commit
239c7d0f4b
1 changed files with 19 additions and 0 deletions
19
bind/files/debian/rndc.conf
Normal file
19
bind/files/debian/rndc.conf
Normal file
|
@ -0,0 +1,19 @@
|
|||
options {
|
||||
default-key "{{salt['pillar.get']('bind:rndc_client:options:default:key', 'rndc_key') }}";
|
||||
default-server "{{salt['pillar.get']('bind:rndc_client:options:default:server', 'localhost') }}";
|
||||
default-port {{salt['pillar.get']('bind:rndc_client:options:default:port', '953') }};
|
||||
};
|
||||
|
||||
|
||||
{% for key,args in salt['pillar.get']('bind:rndc_client:server', {}).items() -%}
|
||||
server "{{ key }}" {
|
||||
key {{ args['key'] }};
|
||||
};
|
||||
{% endfor %}
|
||||
|
||||
{% for key,args in salt['pillar.get']('bind:keys', {}).items() -%}
|
||||
key "{{ key }}" {
|
||||
algorithm {{ args['algorithm'] | default('HMAC-MD5.SIG-ALG.REG.INT') }};
|
||||
secret "{{ args['secret'] }}";
|
||||
};
|
||||
{% endfor %}
|
Loading…
Add table
Reference in a new issue