[Pdns-users] Auto update of Recursor forward list from Authoritative

Peter van Dijk peter.van.dijk at powerdns.com
Mon Aug 20 08:03:45 UTC 2018


Hello Ed,

On 17 Aug 2018, at 15:36, Ed Santora wrote:

> Is there some Lua script that can update the Recursors' forwarded 
> zones
> list, via the API, when new local domains are added? Or, is there some
> other method recommended that I missed? Google has been unusually 
> unhelpful.

The best suggestion I have right now is to use ‘forward-zones-file’ 
in recursor.conf. Then write a small script to generate this file from 
an SQL query. Periodically run this script followed by `rec_control 
reload-zones`.

Kind regards,
-- 
Peter van Dijk
PowerDNS.COM BV - https://www.powerdns.com/


More information about the Pdns-users mailing list