yaml format with allow_from_file

Ronny Wagner via Pdns-users <[email protected]> Sun, 5 Jan 2025 08:26:51 +0000
Newsgroups gmane.network.dns.powerdns.user
Message-ID <[email protected]>
Good morning,

I am currently converting pdns-recursor 5.1.3 from conf to yml and now have a problem understanding the content of the allow_from_file function.

Old Format:
127.0.0.0/8
::1/128
fe80::/10
single_IPV4
single_IPV6

New Format:
- 127.0.0.0/8
- ::1/128
- fe80::/10
- single_IPV4
- single_IPV6

Output from rec_control show-yaml:
# Converted /etc/powerdns/allow_ip_nets to YAML format for incoming.allow_from_file: 
- '- 127.0.0.0/8'
- '- ::1/128'
- '- fe80::/10'
- '- single_IPV4'
- '- single_IPV6'
# Validation result: allow_from_file: value `- 127.0.0.0/8' is not a subnet or IP
# End of converted /etc/powerdns/allow_ip_nets

Why is the IP network 127.0.0.0/8 not recognized correctly? Where did I make my mistake?

Thank you very much for help.

Mit freundlichen Grüßen/Best Regards
Ronny

_______________________________________________
Pdns-users mailing list
[email protected]
https://mailman.powerdns.com/mailman/listinfo/pdns-users
smime.p7s (application/pkcs7-signature, 7.3 KB) - not displayed