[Pdns-users] Zone to Cache: url method support in powerdns repo package

Otto Moerbeek otto at drijf.net
Wed Nov 10 07:23:58 UTC 2021


On Wed, Nov 10, 2021 at 07:15:11AM +0100, Otto Moerbeek via Pdns-users wrote:

> On Wed, Nov 10, 2021 at 12:31:20AM +0100, Christoph via Pdns-users wrote:
> 
> > 
> > 
> > Otto Moerbeek via Pdns-users:
> > >       * A new Zone to Cache[1] function that will retrieve a zone (using
> > >         AXFR, HTTP, HTTPS or a local file) periodically and insert the
> > >         contents into the record cache, allowing the cache to be always hot
> > >         for a zone. This can be used for the root or any other zone.
> > 
> > Thank you for this feature!
> > 
> > 
> > just some testing feedback in case that is unexpected (with the example from
> > the documentation):
> > 
> > msg="Unable to load zone into cache, will retry" subsystem="ztc" level=0
> > ts="1636499834.251" exception="url method configured but libcurl not
> > compiled in" refresh="60" zone="."
> > 
> > installed from your debian repo, version: 4.6.0~beta1-1pdns.bullseye
> 
> Thanks for the report, will fix soon.

Can you try http instead of https? I think the libcurl used for the
build is libcurl-dev, while only libcurl4-openssl-dev has https support.

	-Otto

> 
> > 
> > 
> > tested with axfr works fine:
> > 
> > msg="Loaded zone into cache" subsystem="ztc" level=0 ts="1636500281.758"
> > refresh="86400" zone="."
> > 
> > Is it possible to specify more than one IP address for the axfr source
> 
> Not at the moment. Likely we wil add it in some future version.
> 
> 	-Otto
> _______________________________________________
> Pdns-users mailing list
> Pdns-users at mailman.powerdns.com
> https://mailman.powerdns.com/mailman/listinfo/pdns-users


More information about the Pdns-users mailing list