mirror of
https://github.com/opnsense/plugins.git
synced 2026-06-03 13:59:06 -04:00
dns/bind: light refactor for better diff
This commit is contained in:
parent
27bb69523f
commit
e894be0e1a
3 changed files with 12 additions and 9 deletions
|
|
@ -1,6 +1,5 @@
|
|||
PLUGIN_NAME= bind
|
||||
PLUGIN_VERSION= 1.32
|
||||
PLUGIN_REVISION= 1
|
||||
PLUGIN_VERSION= 1.33
|
||||
PLUGIN_COMMENT= BIND domain name service
|
||||
PLUGIN_DEPENDS= bind918
|
||||
PLUGIN_MAINTAINER= m.muenz@gmail.com
|
||||
|
|
|
|||
|
|
@ -9,6 +9,10 @@ WWW: https://www.isc.org
|
|||
Plugin Changelog
|
||||
================
|
||||
|
||||
1.33
|
||||
|
||||
* Add option to allow the rndc-key for zone transfers (contributed by Naomi Rennie-Waldock)
|
||||
|
||||
1.32
|
||||
|
||||
* Fix handling of multiple ACLs in allow-query/allow-transfer (contributed by Nathan Rennie-Waldock)
|
||||
|
|
|
|||
|
|
@ -166,15 +166,15 @@ zone "{{ domain.domainname }}" {
|
|||
{% endif %}
|
||||
{% if domain.allowtransfer is defined or (domain.allowrndctransfer is defined and domain.allowrndctransfer == "1") %}
|
||||
allow-transfer {
|
||||
{% if domain.allowrndctransfer is defined and domain.allowrndctransfer == "1" %}
|
||||
{% if domain.allowrndctransfer is defined and domain.allowrndctransfer == "1" %}
|
||||
key "rndc-key";
|
||||
{% endif %}
|
||||
{% if domain.allowtransfer is defined %}
|
||||
{% for acl in domain.allowtransfer.split(',') %}
|
||||
{% set transfer_acl = helpers.getUUID(acl) %}
|
||||
{% endif %}
|
||||
{% if domain.allowtransfer is defined %}
|
||||
{% for acl in domain.allowtransfer.split(',') %}
|
||||
{% set transfer_acl = helpers.getUUID(acl) %}
|
||||
{{ transfer_acl.name }};
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
};
|
||||
{% endif %}
|
||||
{% if domain.allowquery is defined %}
|
||||
|
|
|
|||
Loading…
Reference in a new issue