PowerDNS resolver does now enforce YAML config styling

Signed-off-by: DL6ER <dl6er@dl6er.de>
This commit is contained in:
DL6ER
2025-05-31 21:01:47 +02:00
parent 2fc6a64242
commit 47a0d7f3f4

View File

@@ -7,20 +7,31 @@
# This file is copyright under the latest version of the EUPL.
# Please see LICENSE file for your rights under this license.
# Local DNS address and port
local-address=127.0.0.1:5555
# Use authoritative server for ftl., dnssec. and arpa. zones
forward-zones=ftl=127.0.0.1:5554,168.192.in-addr.arpa=127.0.0.1:5554,ip6.arpa=127.0.0.1:5554,dnssec=127.0.0.1:5554,bogus=127.0.0.1:5554
# In this mode the Recursor acts as a “security aware, non-validating”
# nameserver, meaning it will set the DO-bit on outgoing queries and will
# provide DNSSEC related RRsets (NSEC, RRSIG) to clients that ask for them (by
# means of a DO-bit in the query), except for zones provided through the
# auth-zones setting. It will not do any validation in this mode, not even when
# requested by the client.
# The default mode until PowerDNS Recursor 4.5.0.
dnssec=process-no-validate
# Enable LUA support
lua-dns-script=/etc/pdns/luadns.lua
dnssec:
validation: process-no-validate
incoming:
listen:
- 127.0.0.1:5555
recursor:
forward_zones:
- zone: ftl
recurse: false
forwarders:
- 127.0.0.1:5554
- zone: 168.192.in-addr.arpa
recurse: false
forwarders:
- 127.0.0.1:5554
- zone: ip6.arpa
recurse: false
forwarders:
- 127.0.0.1:5554
- zone: dnssec
recurse: false
forwarders:
- 127.0.0.1:5554
- zone: bogus
recurse: false
forwarders:
- 127.0.0.1:5554
lua_dns_script: /etc/pdns/luadns.lua