Bug 244707 - dns/bind914 : named-checkconf fails with filter-aaaa plugin
Summary: dns/bind914 : named-checkconf fails with filter-aaaa plugin
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Mathieu Arnold
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-03-10 02:43 UTC by Zane J Chua
Modified: 2020-07-01 23:07 UTC (History)
2 users (show)

See Also:
bugzilla: maintainer-feedback? (mat)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 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)