[Pdns-dev] Re: BIND backend support for allow-query in named.conf

Brendan Oakley gentux2 at gmail.com
Mon Sep 8 11:52:01 CEST 2008

Hi Leen,

On Sat, Sep 6, 2008 at 5:10 AM, Leen Besselink wrote:
> My take would be, should this not be a general option instead of just for the
> bind-backend ?

Interesting thought. Because this is done on a zone basis, it has to
be in the backend, as opposed to the front-end. But these are simple
enough methods that better OO form might be to put them in the base
DomainInfo class rather than the BIND BB2DomainInfo class. It might
even be more efficient, then, to check the IP in a base class before
even calling lookup().

Even so, every backend would store the allowed IP list differently, so
code would have to be added to each one to populate the ACL.

I can re-do it this way (at least the base class part) if Bert is interested.


More information about the Pdns-dev mailing list