Bug 244707

Summary: dns/bind914 : named-checkconf fails with filter-aaaa plugin
Product: Ports & Packages Reporter: Zane J Chua <zane.jocelyn>
Component: Individual Port(s)Assignee: Mathieu Arnold <mat>
Status: Closed Overcome By Events    
Severity: Affects Only Me CC: freebsd, rene
Priority: --- Flags: bugzilla: maintainer-feedback? (mat)
Version: Latest   
Hardware: Any   
OS: Any   

Description Zane J Chua 2020-03-10 02:43:05 UTC
Upon enabling the filter-aaaa.so plugin in the named.conf

named.conf:

plugin query "/usr/local/lib/named/filter-aaaa.so" {
       filter-aaaa-on-v4 yes;
};

named-checkconf fails with the following:

named-checkconf /usr/local/etc/namedb/named.conf
/usr/local/etc/namedb/named.conf:66: /usr/local/lib/named/filter-aaaa.so: plugin check failed: failure

Upon appending the -c argument to named-checkconf, the named service starts without any issues.

2020-03-05T04:45:41 | named[4244]: registering 'filter-aaaa' module from /usr/local/etc/namedb/named.conf:66, with parameters
2020-03-05T04:45:41 | named[4244]: registering plugin '/usr/local/lib/named/filter-aaaa.so'
2020-03-05T04:45:41 | named[4244]: loading plugin '/usr/local/lib/named/filter-aaaa.so'
Comment 1 Rene Ladan freebsd_committer freebsd_triage 2020-04-30 11:05:59 UTC
Is this relevant for dns/bind916 too?
Comment 2 Leo Vandewoestijne 2020-07-01 23:07:51 UTC
I think so:

====> Running Q/A tests (stage-qa)
Warning: 'lib/named/filter-aaaa.so' is not stripped consider trying INSTALL_TARGET=install-strip or using ${STRIP_CMD}

(that's bind916-9.16.4)
Comment 3 Mathieu Arnold freebsd_committer freebsd_triage 2020-08-26 15:50:10 UTC
I cannot reproduce with bind916, so I am going to close this.