Plugins

Hi,

Looking though the changelog it appears the option for compiling plugins
as shared objects was added back in the 1. series however the only
example code/documentation I can find for writing them are totally out
of date and don't work currently.

Does NSD 3.2 (.8 if it matters) support plugins and if so is there any
example code for them? The most recent example I can find is
http://www.nlnetlabs.nl/svn/nsd/branches/NSD_1_2/contrib/example-plugin.c which
clearly relies on the nsd-plugin header which doesn't appear to be in
the source tree much after the 2 release even though bug fixes to the
plugins appear in the change logs.

The most recent entry in the change log as far as I can tell was
"dynamic plugin support (since 3.0.0)" on the 15th of Dec 06 - if there
is any documentation detailing things such as plugins apart from the man
pages that would also be good to know.

Any pointers would be welcome (:

Thanks,
Damian

Hi Damian,

Looking though the changelog it appears the option for compiling plugins
as shared objects was added back in the 1. series however the only
example code/documentation I can find for writing them are totally out
of date and don't work currently.

There is no plugin support in NSD since the 3.0.0 release. It was a
feature that was not used, and thus not necessary.

Does NSD 3.2 (.8 if it matters) support plugins and if so is there any
example code for them? The most recent example I can find is
http://www.nlnetlabs.nl/svn/nsd/branches/NSD_1_2/contrib/example-plugin.c which
clearly relies on the nsd-plugin header which doesn't appear to be in
the source tree much after the 2 release even though bug fixes to the
plugins appear in the change logs.

Because it was removed.

The most recent entry in the change log as far as I can tell was
"dynamic plugin support (since 3.0.0)" on the 15th of Dec 06 - if there
is any documentation detailing things such as plugins apart from the man
pages that would also be good to know.

Any pointers would be welcome (:

Did you know unbound has python plugins?

Best regards,
   Wouter

Hi Wouter,
Thanks for the info - I agree there is little application for plugins
within the dns server it's self; I was going to use it for gathering per
zone statistics and possibly request modification for "geodns" style
features however it seems for performance people are using applications
such as DSC to scrape the queries directly from the network.

It would be interesting to see if anyone has implemented per zone or
even per record statistics down to a few min increments including things
like geographical location and what performance impact that has on the
response times - even if it is just a lot of queries to be parsed at a
later date.

As for unbound I have briefly looking at it and while it seems a decent
recursive server, however I am looking to implement a "cluster" of
authoritative servers to replace the current bind+pdns mix I have which
doesn't perform well under load.

Thanks,
Damian