[Pdns-users] Recursor and subdomain forward
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
> From rec logs:
> /Mar 23 13:21:05 server pdns_recursor: Reading zone forwarding
> information from '/etc/powerdns/recursor.d/zones.conf'
> Mar 23 13:21:05 server pdns_recursor: 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...
More information about the Pdns-users