Hello,
I’ve noticed that UNBOUND_VERSION_MAJOR and friends aren’t defined in some older libunbound installs.
Is there any reliable way to get the libunbound version in those older versions from C?
Thank you!
-FG
Hello,
I’ve noticed that UNBOUND_VERSION_MAJOR and friends aren’t defined in some older libunbound installs.
Is there any reliable way to get the libunbound version in those older versions from C?
Thank you!
-FG
Hi Felipe,
Hello,
I’ve noticed that UNBOUND_VERSION_MAJOR and friends aren’t defined in some older libunbound installs.
Is there any reliable way to get the libunbound version in those older versions from C?
For 1.4.15 and later there is ub_version(). Before that, no version
information, don't know if you can create a request for version.server
CH TXT and then the library tells you, if that works. Or test for
features, or unbound -h output. (unbound -V nowadays).
Best regards, Wouter
Thank you for such a fast response!
I do need the version in the preprocessor, but I think I can wrestle a solution out of ub_version().
-FG