Skip to content

rec: Is not allowing empty forward lists too strict? #15302

@omoerbeek

Description

@omoerbeek

YAML code already disallowed empty forwarders list, #15194 (not in a release yet) disallowed that for old-style.

But #15295 has an example of an admin using an empty forwarders list as a quick way to blacklist a zone. master won't allow this, on 5.2.0 this results in:

Mar 14 07:40:38 msg="Question" subsystem="syncres" level="0" prio="Info" tid="2" ts="1741934438.091" ecs="" mtid="1" proto="udp" qname="1cent.in" qtype="A" remote="127.0.0.1:57738"
Mar 14 07:40:38 [1] 1cent.in: Wants DNSSEC processing, auth data required by query for A
Mar 14 07:40:38 [1] 1cent.in: No cache hit for '1cent.in|A', trying to find an appropriate NS record
Mar 14 07:40:38 [1] 1cent.in: Cache consultations done, have 1 NS to contact
Mar 14 07:40:38 [1] 1cent.in: Domain is out-of-band
Mar 14 07:40:38 [1] 1cent.in: Auth storage has data, zone='1cent.in'
Mar 14 07:40:38 [1] 1cent.in: Determining status after receiving this packet
Mar 14 07:40:38 [1] 1cent.in: Status=NXDOMAIN, we are done 
Mar 14 07:40:38 [1] 1cent.in: Validation state was Indeterminate, state update is Indeterminate, validation state is now Indeterminate
Mar 14 07:40:38 [1] 1cent.in: Failed (res=3)
Mar 14 07:40:38 msg="Answer" subsystem="syncres" level="0" prio="Info" tid="2" ts="1741934438.091" additional="1" answer-is-variable="0" answers="0" dotout="0" ecs="" into-packetcache="1" maxdepth="0" mtid="1" netms="0.000000" outqueries="0" proto="udp" qname="1cent.in" qtype="A" rcode="3" rd="1" remote="127.0.0.1:57738" tcpout="0" throttled="0" timeouts="0" totms="0.000000" validationState="Indeterminate"

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions