From 3b182a3eba1dfd4bf6349ed1dccd5b29b7b84213 Mon Sep 17 00:00:00 2001 From: Robbert Rijkse <42551307+sestary@users.noreply.github.com> Date: Tue, 10 Jan 2023 02:51:00 -0500 Subject: [PATCH] dns/bind: cleanup master/slave zone UI (#3224) --- dns/bind/pkg-descr | 1 + .../Bind/forms/dialogEditBindMasterDomain.xml | 50 ------------------- .../Bind/forms/dialogEditBindSlaveDomain.xml | 4 +- .../mvc/app/views/OPNsense/Bind/general.volt | 2 - 4 files changed, 3 insertions(+), 54 deletions(-) diff --git a/dns/bind/pkg-descr b/dns/bind/pkg-descr index 65e8d0fe2..864f2cc0f 100644 --- a/dns/bind/pkg-descr +++ b/dns/bind/pkg-descr @@ -11,6 +11,7 @@ Plugin Changelog 1.25 +* Cleanup/Fix the Master/Slave domain dialogs (contributed by Robbert Rijkse) * Revamp the logging page with proper columns (contributed by Robbert Rijkse) * Update base to BIND 9.18 diff --git a/dns/bind/src/opnsense/mvc/app/controllers/OPNsense/Bind/forms/dialogEditBindMasterDomain.xml b/dns/bind/src/opnsense/mvc/app/controllers/OPNsense/Bind/forms/dialogEditBindMasterDomain.xml index c7ccbfbb7..2141fb0ad 100644 --- a/dns/bind/src/opnsense/mvc/app/controllers/OPNsense/Bind/forms/dialogEditBindMasterDomain.xml +++ b/dns/bind/src/opnsense/mvc/app/controllers/OPNsense/Bind/forms/dialogEditBindMasterDomain.xml @@ -23,56 +23,6 @@ dropdown Define an ACL where you allow which client are allowed to query this zone. - - domain.type - - dropdown - Set the type for this zone. - - - - header - - - - domain.masterip - - - select_multiple - true - Set the IP address of master server when using slave mode. - - - domain.transferkeyalgo - - dropdown - Set the authentication algorithm for the TSIG key used to transfer domain data from the master server. - - - domain.transferkeyname - - text - The name of the TSIG key, which must match the value on the master server. - - - domain.transferkey - - text - The base64-encoded TSIG key. - - - domain.allownotifyslave - - - select_multiple - true - A list of allowed IP addresses to receive notifies from. - - - - header - - domain.ttl diff --git a/dns/bind/src/opnsense/mvc/app/controllers/OPNsense/Bind/forms/dialogEditBindSlaveDomain.xml b/dns/bind/src/opnsense/mvc/app/controllers/OPNsense/Bind/forms/dialogEditBindSlaveDomain.xml index c7789f46a..3b7ebd9b9 100644 --- a/dns/bind/src/opnsense/mvc/app/controllers/OPNsense/Bind/forms/dialogEditBindSlaveDomain.xml +++ b/dns/bind/src/opnsense/mvc/app/controllers/OPNsense/Bind/forms/dialogEditBindSlaveDomain.xml @@ -47,7 +47,7 @@ domain.transferkey text - The base64-encoded TSIG key. + The TSIG key used to transfer domain data from the master server in Base64 encoding. domain.allownotifyslave @@ -55,6 +55,6 @@ select_multiple true - A list of allowed IP addresses to receive notifies from (in addition to the master server.) + A list of allowed IP addresses to receive notifies from (in addition to the master server). diff --git a/dns/bind/src/opnsense/mvc/app/views/OPNsense/Bind/general.volt b/dns/bind/src/opnsense/mvc/app/views/OPNsense/Bind/general.volt index 3eb6b8f0c..5a8202969 100644 --- a/dns/bind/src/opnsense/mvc/app/views/OPNsense/Bind/general.volt +++ b/dns/bind/src/opnsense/mvc/app/views/OPNsense/Bind/general.volt @@ -92,7 +92,6 @@ POSSIBILITY OF SUCH DAMAGE. {{ lang._('Enabled') }} - {{ lang._('Type') }} {{ lang._('Zone') }} {{ lang._('TTL') }} {{ lang._('Refresh') }} @@ -161,7 +160,6 @@ POSSIBILITY OF SUCH DAMAGE. {{ lang._('Enabled') }} - {{ lang._('Type') }} {{ lang._('Zone') }} {{ lang._('Master IPs') }} {{ lang._('ID') }}