[Pdns-users] Recursor and subdomain forward

Brian Candler b.candler at pobox.com
Mon Mar 23 13:38:14 UTC 2020

On 23/03/2020 13:28, Giovanni Vecchi via Pdns-users wrote:
> /sudo rec_control get-parameter forward-zones
> forward-zones=""/
> From rec logs:
> /Mar 23 13:21:05 server pdns_recursor[9349]: Reading zone forwarding 
> information from '/etc/powerdns/recursor.d/zones.conf'
> Mar 23 13:21:05 server pdns_recursor[9349]: Done parsing 3 forwarding 
> instructions from file '/etc/powerdns/recursor.d/zones.conf'/
> Is this a known behaviour?

It looks like the expected behaviour to me.  Try "rec_control 
get-parameter forward-zones-file" instead.

However, you should not put your forward zones file under 
/etc/powerdns/recursor.d/.  That's because powerdns tries to read all 
the files in that directory as powerdns configuration directives.  
You'll see the following in the default config:


Therefore, put them in another directory.  I just use one level up:

# rec_control get-parameter forward-zones-file



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.powerdns.com/pipermail/pdns-users/attachments/20200323/f3b013ea/attachment.htm>

More information about the Pdns-users mailing list