[Pdns-users] Pdns recursor - forward-zones-file not working

Otto Moerbeek otto at drijf.net
Mon Jun 19 17:25:03 UTC 2023


On Mon, Jun 19, 2023 at 05:10:01PM +0100, Djerk Geurts via Pdns-users wrote:

> Hi all,
> 
> Reading up on recursor settings I found that with forward-zones-file one can set recurse an RD flag and also add domains to an allow-notify-for list.
> 
> "Zones prefixed with a ‘+’ are treated as with forward-zones-recurse <https://doc.powerdns.com/recursor/settings.html#forward-zones-recurse>. Default behaviour without ‘+’ is as with forward-zones <https://doc.powerdns.com/recursor/settings.html#forward-zones>."
> 
> "Zones prefixed with a ‘^’ are added to the allow-notify-for <https://doc.powerdns.com/recursor/settings.html#allow-notify-for> list. Both prefix characters can be used if desired, in any order."
> 
> However, when I try this. I get the following errors thrown no matter whether I use either ‘+’, ‘^’, both or without.
> 
> Jun 19 17:56:04 rdns.local.domain.com systemd[1]: Starting PowerDNS Recursor…
> 
> Jun 19 17:56:04 rdns.local.domain.com pdns-recursor[3200410]: Jun 19 17:56:04 msg="Fatal error" error="Trying to set unknown setting ‘domain.com'" subsystem="config" level="0" prio="Critical" tid="0" ts="1687190164.328" exception="PDNSException"
> 
> Jun 19 17:56:04 rdns.local.domain.com [3200410]: msg="Fatal error" error="Trying to set unknown setting ‘domain.com'" subsystem="config" level="0" prio="Critical" tid="0" ts="1687190164.328" exception="PDNSException"
> 
> Jun 19 17:56:04 rdns.local.domain.com systemd[1]: pdns-recursor.service: Main process exited, code=exited, status=1/FAILURE
> 
> Jun 19 17:56:04 rdns.local.domain.com systemd[1]: pdns-recursor.service: Failed with result 'exit-code'.
> 
> Jun 19 17:56:04 rdns.local.domain.com systemd[1]: Failed to start PowerDNS Recursor.
> 
> Has the format of this file changed?

No. 

Please show your recursor.conf and the forwarding file.

	-Otto


More information about the Pdns-users mailing list