s4/dlz: add support for bind 9.18
As per https://bugzilla.samba.org/show_bug.cgi?id=14986 and comments on Matrix, people are starting to want to use Bind 9.18 with the Samba DLZ.
This copies what we do for 9.16.
Half the patch is by Andreas Hasenack (probably the same one as @ahasenack). Andreas, are you OK with the squashed patch?
Checklist
-
Commits have Signed-off-by:
with name/author being identical to the commit author -
(optional) This MR is just one part towards a larger feature. -
(optional, if backport required) Bugzilla bug filed and BUG:
tag added -
Test suite updated with functionality tests -
Test suite updated with negative tests -
Documentation updated -
CI timeout is 3h or higher (see Settings/CICD/General pipelines/ Timeout)
Reviewer's checklist:
-
There is a test suite reasonably covering new functionality or modifications -
Function naming, parameters, return values, types, etc., are consistent and according to README.Coding.md
-
This feature/change has adequate documentation added -
No obvious mistakes in the code