<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<div class="moz-cite-prefix">On 20/03/2020 17:18, Giovanni Vecchi
via Pdns-users wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CADkrqGB6CL7BX3QouXUs+BYWpM8j9PFt48_QzCqP_bqB3eMV-Q@mail.gmail.com">I
think the problem was that following zone forwarding need to be
configured with "forwarding-zone<b>+</b>=" directive, but if I
didn't find any feedback in the documentation (<a
href="https://doc.powerdns.com/recursor/settings.html#forward-zones"
moz-do-not-send="true">https://doc.powerdns.com/recursor/settings.html#forward-zones</a>):
may I open a github issue?</blockquote>
<p>I suggest you use <a moz-do-not-send="true"
href="https://doc.powerdns.com/recursor/settings.html#forward-zones-file">forward-zones-file</a>
and put all your rules in that file. Or use forward-zones with
all your rules on one line separated by commas.<br>
</p>
<p>The += syntax is rather obscure; I only found it mentioned in
passing here:</p>
<p><a
href="https://doc.powerdns.com/authoritative/guides/recursion.html">https://doc.powerdns.com/authoritative/guides/recursion.html</a></p>
<p>Powerdns lets you silently override a setting. A quick test with<br>
</p>
<p>forward-zones=foo.com=127.0.0.1:5300<br>
forward-zones=bar.com=127.0.0.1:5300</p>
<p>and the only log message I get is:<br>
</p>
<p>Mar 20 17:30:05 cache1 pdns_recursor[18387]: Redirecting queries
for zone 'bar.com' to: 127.0.0.1:5300</p>
<p>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.<br>
</p>
Regards,
<p>Brian.<br>
</p>
</body>
</html>