Re: About Bind Plugin development

Chunhui Ouyang <[email protected]> Sun, 23 Nov 2025 01:15:58 +0800
Newsgroups gmane.network.dns.bind.user
Message-ID <aSHvzrrXMIPKVUH6@JACK-PC>
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.
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEE3jbn5J6NaSLTgdv31rEXC79Nm0FAmkh784ACgkQ31rEXC79
Nm20jQ//Z+7h67JTLIndNeL9yETSQyN8FHJdzShM8AIejkUnVGJTvIE0npsH3pUV
epQ3T5Y/tOaEgymzsh8jNHaExeu40gZvtK60t+F8F3hE3LxgKdHH592kZyJy2MVV
vbpCl/9CqdKSLo/nkJCpUJPmf8Y2d0iXcJ/CZqLGxbs4qd37NxRinjVIiGO6tUmx
E1Sl+itSwQ5ziseWh6cttIFyvH744yTRG0yGtYF3h/Hf/86o+r7MtlOV/j12TH5K
JEGZF6I5YWqY49b0vbPg2DpvK1GyR0eQ/orhCjt0lX0XSbRZbNwzZ8DMfzEfGoIp
aEDzhcvjUwGYfg/BQR8gdB4nth0zr9HLMrrSqfirODStAdPPOyEzCtbUWiFgI5Fn
9xu34H/O86IWAxs0jvfnBNjX8wOPXuY9/ROobdpJ/cgI2N6oLN2gQmRJw8uNfdVm
qJBK4VMPwpWeVvRLqVd8zxQ+pQxUmlyN1u5B2WkIbULvCNKNrpDgjceNvfgv6A67
83IhoojntiWEDbTuvEkZFfgF3y3KDLtkIZZrOU3Jtgq7tJGayMtDjLEC3sF6oJGB
IkE43ZuS0pmgygbpRW227mteGnlzicW2xX4O7UYjZN18YmZF7NNg9gQO643cDlxD
yBPsBJhTeDQFMN4x29/0mn1b9NxajQ0rziQVMyIULDlQ6xBEVg4=
=BK4/
-----END PGP SIGNATURE-----