Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#64701 - [bind] Enable 'Filter AAAA' via build-time flag

Attached to Project: Arch Linux
Opened by George Rawlinson (rawlinsong) - Monday, 02 December 2019, 06:22 GMT
Last edited by Sébastien Luttringer (seblu) - Thursday, 05 December 2019, 14:49 GMT
Task Type Feature Request
Category Packages: Extra
Status Closed
Assigned To Sébastien Luttringer (seblu)
Architecture All
Severity Very Low
Priority Low
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

It would be nice if BIND's 'Filter AAAA' functionality was enabled. It depends on a build-time option, so would require BIND to be re-compiled.

I maintain my own internal DNS servers at home, and my ISP does _not_ support IPv6.


Additional info:
* Has been implemented since BIND 9.0
* [Filter AAAA option in BIND 9][0]
* Enabled via `--enable-filter-aaaa` build-time flag

[0]: https://kb.isc.org/docs/aa-00576
This task depends upon

Closed by  Sébastien Luttringer (seblu)
Thursday, 05 December 2019, 14:49 GMT
Reason for closing:  Implemented
Additional comments about closing:  bind 9.14.8-4
Comment by George Rawlinson (rawlinsong) - Tuesday, 03 December 2019, 02:28 GMT
Despite '--enable-filter-aaaa' being documented upstream, it has actually been deprecated for a while ... which isn't really documented anywhere except in the source.

I decided to download and re-compile packages/bind.

Findings:

- Passing '--enable-filter-aaaa' to ./configure results in a 'unrecognised option' message in the configuration summary output.
- All filter-aaaa configuration options result in deprecation notifications when named-checkconf is run.
- The filter-aaaa functionality has been moved outside of core BIND into a plugin (located in $SRC/bin/plugins) which requires it's own compile step. Thankfully, this is as simple as adding 'plugins' to the array on line 93 of the PKGBUILD.

This results in a new shared library being installed to /usr/lib/named/filter-aaaa.so as well as an additional man page being created. So, I think the buildscripts may have to be modified again. The only changes to be made to the PKGBUILD is removing --enable-filter-aaaa and adding 'plugins' to the array on line 93.

Apologies for not testing this prior to contacting seblu & opening the bug on Flyspray.
Comment by Sébastien Luttringer (seblu) - Tuesday, 03 December 2019, 03:40 GMT
It's in testing. Please let me known if it works for you.
Comment by George Rawlinson (rawlinsong) - Tuesday, 03 December 2019, 06:53 GMT
It works well, thanks for re-opening the issue.

Loading...