Re: plugin_version

2022-12-15 Thread Ondřej Surý
I believe that `NS_PLUGIN_VERSION` is reserved for situations where the **plugin** API itself changes. But I agree with you that the current situation where the query_ctx_t struct members are accessed directly isn't ideal. My recommendation would be to recompile the plugin together with each new B

Re: plugin_version

2022-12-15 Thread Marcus Kool
Hi Ondrej, yeah, I was kinda expecting "no guarantees", but isn't the plugin_version() function a good method candidate to enforce compatibility? I mean, isn't increasing NS_PLUGIN_VERSION when a (plugin visible) data structure changes, a good way to enforce that only compatible plugins are use

Re: plugin_version

2022-12-15 Thread Ondřej Surý
Hi Marcus, I am afraid that we can’t provide any guarantees about the BIND 9 internal libraries. We made a decision to drop the layers and layers of compatibility for the sake of maintainability. That said, once the release is pronounced ESV (roughly a year from initial release), we try to min