Re: About Bind Plugin development

Chunhui Ouyang <[email protected]> Sat, 22 Nov 2025 18:50:37 +0800
Newsgroups gmane.network.dns.bind.user
Message-ID <aSGVfbkZE6H5bEaP@JACK-PC>
Hello, could you provide a guide on how to organize the project structure for third-party plugin development? I've noticed that current compilation requires the already built bind9's config.h file, but this file doesn't exist in a brand new project. Does this mean it doesn't allow external compilation of the source code?

Looking forward to your reply.

* Colin Vidal <[email protected]> [2025-11-21 :14:06]:

> On Fri, 2025-11-21 at 23:29 +0800, Chunhui Ouyang wrote:
> > Could you tell me what the entry point of the plugin is?
> > 
> 
> As explained in the reference for plugin development I sent you
> earlier:
> 
> "At various locations within the named source code, there are "hook
> points" at which a plugin may register itself. When a hook point is
> reached while named is running, it is checked to see whether any
> plugins have registered themselves there; if so, the associated "hook
> action" - a function within the plugin library - is called."
> 
> So there is no really a single "entry" point, but rather multiples ones
> depending where the plugin is hooked. (Plus the four `plugin_*` API to
> implement for registering, etc.)
> 
> Side note: please answer emails with the mailing list in CC, so
> everyone can see, benefit and contribute to this thread.
> 
> Thanks
> 
> Colin Vidal
>

-- 
Visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe from this list.
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEE3jbn5J6NaSLTgdv31rEXC79Nm0FAmkhlX0ACgkQ31rEXC79
Nm0izBAAltBaY2rWNXhpTEN7tEovxMHwH7Tw61xdqlywlL3bLBhnEqeFqFUiNcwo
NoVvO2D0pCN77HoZ7sLWuD2JLR3dCA/E3Sa6ulOWDsEiwEIbcvad/3rMtDPR1Dn0
MNhs54DY9RevKBa6gPTRr//S6Q3LpxAOzw1VJ7LXT09UCExs/DuixGc+NfVqtkmY
krvuwsOVzFZcWGHQISaLSL6MdB/amgGnyHWuU4zaWpdTIv96sF6IsrFvCfFSAhVr
L09CblII5vSEppFdl/tJh9jlnEHwLSZpAkUvK7tTszyuQ9PnuuuZVWPXPdi/DaRy
4fmQjhe5b2VQGuhGSdUi3gMLyScd+JDA8cgISbmbwNuD0oLG0p6HodYEdt81flgO
NvJKX8hexLfBwPNapiR4Zyu44Wjv5a8vRM6uoWym7/HypfEldhzZo9ya95OotbxK
dO6NqD5tbRoGo5tllKujiVK/BiX7o8wBe2k+oIl1k6FyxjVz4VjHG2pdwYWwzWk6
tfkQbnXh37uXyZtpwg+4NcY2dmZeX++qz27vxg+rywrXP+a1vzC/8v23ffOx6nhm
9tloPPmIyudV0en5kCdBr0bl5TPR+r4hXSB/5fg0MJh6Z6w3frSMOmGywpCqS/9W
2IQKHpndkWXnYHPMTR7zN1n65sOtT7zgNmmlx2AfT+Is3RzAiMg=
=zuVq
-----END PGP SIGNATURE-----