Call to popen() to load in a zone file

Renaud Waldura renaud at waldura.org
Wed Jul 19 19:55:35 UTC 2000



Before I delve in the exciting new intricacies of bind 9, I'm willing to 
risk one (1) computer system and try out this patch anyway. Where can I 
find it? 

I'm aware that a fair warning has been given to me and that installing 
this patch will void my guarantee and right to sue for damage recovery. :)

--Renaud


On Mon, Jul 17, 2000 at 08:42:01PM -0400, Kevin Darcy wrote:
> 
> I suspect this feature may have been stillborn because of the insecurity of
> popen(). Why not just set your sights on the BIND 9 codeset, which has a
> much more well-defined hook for loading from external databases?
> (Admittedly, this hook requires at least a little "C" coding -- at least
> enough to make a wrapper for the SQL backend routines -- so it is not quite
> as scriptable as the popen() idea...)
> 
> 
> - Kevin
> 
> Renaud Waldura wrote:
> 
> > Dear bind-users,
> >
> > I found this post in the mailing-list archive:
> >
> > On Wed, 13 Jan 1999, Paul Vixie wrote:
> > >
> > > In 8.2.1 (sorry, it has slipped from 8.2) you will see a feature which
> > > allows popen() to be called rather than fopen() when loading in a zone.
> > > So an SQL program which can emit a zone file on its stdout will be all
> > > you need.
> >
> > I just grabbed the latest 8.2.2P5 bind source, and I'm unable to
> > see this patch anywhere. As far as I can tell, db_load uses a regular
> > fopen() to load in a zone file, not a popen() as mentionned above.
> >
> > Was this patch forgotten from the release? Would someone by kind enough
> > as to forward it to me? That would be very much appreciated (please make
> > sure you Cc me also, since I'm not a member of this list).
> >
> > Thank you,
> >
> > --
> > -- Renaud Waldura <renaud at waldura.org>
> 
> 
> 
> 



More information about the bind-users mailing list