[Pdns-users] Recursor and subdomain forward
g.vecchi at certego.net
Mon Mar 23 13:28:40 UTC 2020
thanks for your tip: forward-zone-file is great.
I only noticed that configuring forward-zone-file will broke the
get-parameter command for rec_control:
*sudo rec_control get-parameter forward-zonesforward-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
Is this a known behaviour?
On Fri, 20 Mar 2020 at 18:37, Brian Candler <b.candler at pobox.com> wrote:
> On 20/03/2020 17:18, Giovanni Vecchi via Pdns-users wrote:
> I think the problem was that following zone forwarding need to be
> configured with "forwarding-zone*+*=" directive, but if I didn't find any
> feedback in the documentation (
> https://doc.powerdns.com/recursor/settings.html#forward-zones): may I
> open a github issue?
> I suggest you use forward-zones-file
> <https://doc.powerdns.com/recursor/settings.html#forward-zones-file> and
> put all your rules in that file. Or use forward-zones with all your rules
> on one line separated by commas.
> The += syntax is rather obscure; I only found it mentioned in passing here:
> Powerdns lets you silently override a setting. A quick test with
> and the only log message I get is:
> Mar 20 17:30:05 cache1 pdns_recursor: Redirecting queries for zone '
> bar.com' to: 127.0.0.1:5300
> But I believe this is intentional, so that configs in the top-level config
> file can be overridden in included config files ("include-dir"). Perhaps
> it would be helpful to generate a warning if a setting is overridden by
> another setting in the same file though.
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