Hello, On Fri, 2025-11-21 at 22:33 +0800, Chunhui Ouyang wrote: > Hello everyone. > > I'm developing a plugin due to client requirements, but I'm unclear > on the overall way to write a Bind plugin. Could I request a > complete, simple example of plugin development from the official Bind > documentation?
A good starting point is the reference documentation: https://bind9.readthedocs.io/en/latest/chapter4.html#developing-plugins Then, a more detailed explanation can be found in the long comment header in `lib/ns/include/ns/hooks.h` After reading those two things, I'd suggest looking at a dummy plugin in the test code: `bin/tests/system/hooks/driver/test-syncplugin.c` What this test plugin is doing is not important, but you can see the various hooks points implemented as an example. And finally we currently support 3 plugins, you can find the code in `bin/plugin/*.c` Thanks, Colin Vidal -- Visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe from this list.

