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

Djerk Geurts djerk at maizymoo.com
Mon Jun 19 16:10:01 UTC 2023


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?

-- 
Best regards,
Djerk Geurts

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.powerdns.com/pipermail/pdns-users/attachments/20230619/e8c40b7b/attachment.htm>


More information about the Pdns-users mailing list