Re: About Bind Plugin development
Chunhui Ouyang <[email protected]> Sun, 23 Nov 2025 14:33:48 +0800
| Newsgroups | gmane.network.dns.bind9.user,gmane.network.dns.bind.user |
|---|---|
| Message-ID | <aSKqzF04AALOCQR9@JACK-PC> |
Thank you, I'll take a look. * Greg Choules <[email protected]> [2025-11-22 :39:31]: > Here is the RPZ draft: > https://datatracker.ietf.org/doc/html/draft-ietf-dnsop-dns-rpz-00 > Here are references in the ARM showing how to use it in BIND: > https://bind9.readthedocs.io/en/stable/chapter6.html#enter-rpz > https://bind9.readthedocs.io/en/stable/reference.html#response-policy-zone-rpz-rewriting > > I hope that helps. > Cheers, Greg > > On Sat, 22 Nov 2025 at 17:16, Chunhui Ouyang <[email protected]> wrote: > > > I know, so I'm just hoping for some introductory examples, like some > > simple configurations, but that's okay, I'll find them myself. Thanks. I > > originally wanted to write a plugin, but for plugins, I'd like some > > introductory examples, like how I should build the most basic project > > without depending on config.h or... If it must be compiled within the tree, > > how should I build a tree-based plugin that can compile correctly? Because > > it currently throws an error without including config.h. > > > > * Ondřej Surý <[email protected]> [2025-11-22 :08:39]: > > > > > I think you are mistaking open source with free labor. > > > > > > It’s your client and your commercial contract, I gave you pointers, how > > you handle these it is entire up to you, but don’t expect people here to do > > this proprietary job for you for free. > > > > > > Ondrej > > > -- > > > Ondřej Surý — ISC (He/Him) > > > > > > My working hours and your working hours may be different. Please do not > > feel obligated to reply outside your normal working hours. > > > > > > > On 22. 11. 2025, at 17:15, Chunhui Ouyang <[email protected]> wrote: > > > > > > > > I see it, but I still have two questions: > > > > > > > > 1. The client says there might be hundreds of thousands of IPs that > > need to be matched, so I need a convenient process to match these addresses. > > > > > > > > 2. Can you tell me how to write RPG entries? > > > > > > > > * Ondřej Surý <[email protected]> [2025-11-22 :38:03]: > > > > > > > >> I already gave you the links to the documentation and the tutorial > > below. Have you looked at these? > > > >> > > > >> -- > > > >> Ondřej Surý (He/Him) > > > >> [email protected] > > > >> > > > >> My working hours and your working hours may be different. Please do > > not feel obligated to reply outside your normal working hours. > > > >> > > > >>>> On 22. 11. 2025, at 15:40, Chunhui Ouyang <[email protected]> > > wrote: > > > >>> > > > >>> Can you give me an example? > > > >>> > > > >>> * Ondřej Surý <[email protected]> [2025-11-22 :34:48]: > > > >>> > > > >>>> RPZ already has the functionality that you’ve described below. > > There’s no need to write a new plugin for this. > > > >>>> > > > >>>> Ondrej > > > >>>> -- > > > >>>> Ondřej Surý — ISC (He/Him) > > > >>>> > > > >>>> My working hours and your working hours may be different. Please do > > not feel obligated to reply outside your normal working hours. > > > >>>> > > > >>>>> On 22. 11. 2025, at 14:43, Chunhui Ouyang <[email protected]> > > wrote: > > > >>>>> > > > >>>>> What's the meaning? > > > >>>>> > > > >>>>> * Ondřej Surý <[email protected]> [2025-11-22 :25:08]: > > > >>>>> > > > >>>>>> Sorry, actually, not RPZ-CLIENT-IP, it is just RPZ-IP triggering > > rule. > > > >>>>>> > > > >>>>>> Ondrej > > > >>>>>> -- > > > >>>>>> Ondřej Surý (He/Him) > > > >>>>>> [email protected] > > > >>>>>> > > > >>>>>> My working hours and your working hours may be different. Please > > do not feel obligated to reply outside your normal working hours. > > > >>>>>> > > > >>>>>>>> On 22. 11. 2025, at 14:22, Ondřej Surý <[email protected]> wrote: > > > >>>>>>> > > > >>>>>>>> It will filter DNS resolution requests and match the IP record > > of any domain name against a given list; if a match is found, it will force > > the return of the given IP. > > > >>>>>>> > > > >>>>>>> > > > >>>>>>> You mean like RPZ-CLIENT-IP? > > > >>>>>>> > > > >>>>>>> https://www.isc.org/rpz/ > > > >>>>>>> and > > > >>>>>>> https://www.isc.org/docs/BIND_RPZ.pdf > > > >>>>>>> > > > >>>>>>> ? > > > >>>>>>> > > > >>>>>>> Ondrej > > > >>>>>>> -- > > > >>>>>>> Ondřej Surý (He/Him) > > > >>>>>>> [email protected] > > > >>>>>>> > > > >>>>>>> My working hours and your working hours may be different. Please > > do not feel obligated to reply outside your normal working hours. > > > >>>>>>> > > > >>>>>> > > > >>>>> <signature.asc> > > > >>>> > > > >> > > > > <signature.asc> > > > > > -- > > Visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe > > from this list. > > -- Visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe from this list.
signature.asc
(application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEE3jbn5J6NaSLTgdv31rEXC79Nm0FAmkiqswACgkQ31rEXC79 Nm3wNA/9FwKn8ndesKpQdB5CoeHr4gk+d09VTdol2J+jZH8tQiXSeepmz+VNA2R7 LKkR/KhbaNWwG5vaRttmE2BcsG+KE2NSK5m+UC+gV1kzSTe++RZ24w6lDSO33zru UE0k2m7Gsv6/gZ+iGrJ1KZwJW4heRyiCkwoOJ1cOfm/uIOUpx3s5OUH+uQbGa0Nc oY4W6dOyDQv+P3TfJpD36IYN32+vvy7k2YlpJ8n3KJHRT0JsDoZOi9fgmIyDvh+L ol6Zo8K8Lc61qXJGBh8qD6Hc0BTJEKWk0NBg+9RhU1ueSAOE7O3SRCxsYTIp0EZo nb+MWxM8d44Sl6UJL3Ml+ChRJs6I5clqGJSuk2yesSWn+sTmu3KJ92ODh523O2dE syJzyTkDdMvZJpf5AqaqHIjjeNwu6iSu/+3Wwdnp5IKG3vMPIzSuM1hrWlguiHqo 8fNVEIAUlDhEOUakIPp8WEeqCLpCH0eTiy1N6w5gI109gtCrv8iUn3qH9njW/SWI kzH/YvzUQJd6pGu1rKY1OaeH5N0mBy51bTAvE21vCvSYDrbvf3bnRZQ5+onjv8O4 GFQh6qMvzcd6Sc9l7rXQ2b+eaYhBUc5MbgwqNbkWs2RdWV3nnRY/IxJ3cMOTlJa+ mN/D5HOU9hPGlgbS90OzotfvKbAIAZJc3sBmAF9yDa2mMnacSaI= =SeId -----END PGP SIGNATURE-----