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.
Thanks.
Brendan