[Pdns-users] Recursor and subdomain forward
g.vecchi at certego.net
Mon Mar 23 15:40:48 UTC 2020
Got it Brian.
Thanks a lot.
On Mon, 23 Mar 2020 at 14:38, Brian Candler <b.candler at pobox.com> wrote:
> 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: 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
Infrastructure Lead Engineer, Certego
Use of the information within this document constitutes acceptance for
use in an "as is" condition. There are no warranties with regard to
this information; Certego has verified the data as thoroughly as
possible. Any use of this information lies within the user's
responsibility. In no event shall Certego be liable for any
consequences or damages, including direct, indirect, incidental,
consequential, loss of business profits or special damages, arising
out of or in connection with the use or spread of this information.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Pdns-users