From 7205ea00948f25159bfe247531c6a8d06fdf187c Mon Sep 17 00:00:00 2001 From: Franco Fichtner Date: Thu, 26 Jan 2023 20:08:43 +0100 Subject: [PATCH] dns/bind: why is switching lib dirs a good idea? PR: https://forum.opnsense.org/index.php?topic=32092.0 --- dns/bind/Makefile | 1 + .../src/opnsense/service/templates/OPNsense/Bind/named.conf | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/dns/bind/Makefile b/dns/bind/Makefile index 49a4e7ce2..a4b384481 100644 --- a/dns/bind/Makefile +++ b/dns/bind/Makefile @@ -1,5 +1,6 @@ PLUGIN_NAME= bind PLUGIN_VERSION= 1.26 +PLUGIN_REVISION= 1 PLUGIN_COMMENT= BIND domain name service PLUGIN_DEPENDS= bind918 PLUGIN_MAINTAINER= m.muenz@gmail.com diff --git a/dns/bind/src/opnsense/service/templates/OPNsense/Bind/named.conf b/dns/bind/src/opnsense/service/templates/OPNsense/Bind/named.conf index 08db14ef1..ba12c2c00 100644 --- a/dns/bind/src/opnsense/service/templates/OPNsense/Bind/named.conf +++ b/dns/bind/src/opnsense/service/templates/OPNsense/Bind/named.conf @@ -220,7 +220,7 @@ logging { {% endif %} {% if helpers.exists('OPNsense.bind.general.filteraaaav4') and OPNsense.bind.general.filteraaaav4 == '1' or helpers.exists('OPNsense.bind.general.filteraaaav6') and OPNsense.bind.general.filteraaaav6 == '1' %} -plugin query "/usr/local/lib/named/filter-aaaa.so" { +plugin query "/usr/local/lib/bind/filter-aaaa.so" { {% if helpers.exists('OPNsense.bind.general.filteraaaav4') and OPNsense.bind.general.filteraaaav4 == '1' %} filter-aaaa-on-v4 yes; {% endif %}