bind9 comes with the plugins filter-a.so and filter-aaaa.so preinstalled into /usr/lib/x86_64-linux-gnu/bind/.
When trying to actually use them, bind9 fails to start:
loading plugin '/usr/lib/x86_64-linux-gnu/named/filter-aaaa.so'
failed to dlopen() plugin '/usr/lib/x86_64-linux-gnu/named/filter-aaaa.so': /usr/lib/x86_64-linux-gnu/named/filter-aaaa.so: cannot open shared object file: No such file or directory
Looks like either bind9 is configured with a wrong plugin path or the files got dropped into the wrong directory.
To reproduce, add the following to /etc/bind/named.conf.options and restart:
Ubuntu release: 22.04.1 LTS (jammy) amd64
bind9 version: 1:9.18.1-1ubuntu1.3
bind9 comes with the plugins filter-a.so and filter-aaaa.so preinstalled into /usr/lib/ x86_64- linux-gnu/ bind/.
When trying to actually use them, bind9 fails to start:
loading plugin '/usr/lib/ x86_64- linux-gnu/ named/filter- aaaa.so' x86_64- linux-gnu/ named/filter- aaaa.so' : /usr/lib/ x86_64- linux-gnu/ named/filter- aaaa.so: cannot open shared object file: No such file or directory
failed to dlopen() plugin '/usr/lib/
Looks like either bind9 is configured with a wrong plugin path or the files got dropped into the wrong directory.
To reproduce, add the following to /etc/bind/ named.conf. options and restart:
plugin query "filter-aaaa.so" { aaaa-on- v4 yes;
filter-
};
Workaround: Use the full path like in
plugin query "/usr/lib/ x86_64- linux-gnu/ bind/filter- aaaa.so" { aaaa-on- v4 yes;
filter-
};