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

2023-06-19 Thread Djerk Geurts via Pdns-users
Hi Otto,

Literally just worked out why the euro is showing. The forward zone file name 
ended in “.conf” meaning pdns-recursor was reading the file as configuration. 
Removing the file extension fixed it. It’s an incredibly silly mistake to make…

-- 
Djerk

> On 19 Jun 2023, at 18:25, Otto Moerbeek  wrote:
> 
> 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 
>> . 
>> Default behaviour without ‘+’ is as with forward-zones 
>> ."
>> 
>> "Zones prefixed with a ‘^’ are added to the 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

___
Pdns-users mailing list
Pdns-users@mailman.powerdns.com
https://mailman.powerdns.com/mailman/listinfo/pdns-users


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

2023-06-19 Thread Otto Moerbeek via Pdns-users
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 
> . 
> Default behaviour without ‘+’ is as with forward-zones 
> ."
> 
> "Zones prefixed with a ‘^’ are added to the 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
___
Pdns-users mailing list
Pdns-users@mailman.powerdns.com
https://mailman.powerdns.com/mailman/listinfo/pdns-users


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

2023-06-19 Thread Djerk Geurts via Pdns-users
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 
. 
Default behaviour without ‘+’ is as with forward-zones 
."

"Zones prefixed with a ‘^’ are added to the 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

___
Pdns-users mailing list
Pdns-users@mailman.powerdns.com
https://mailman.powerdns.com/mailman/listinfo/pdns-users