Skip to content

fix(sign): report parser err before missing SOA#7775

Merged
yongtang merged 1 commit into
coredns:masterfrom
thevilledev:fix/sign-parse-err-order
Dec 23, 2025
Merged

fix(sign): report parser err before missing SOA#7775
yongtang merged 1 commit into
coredns:masterfrom
thevilledev:fix/sign-parse-err-order

Conversation

@thevilledev

Copy link
Copy Markdown
Collaborator

1. Why is this pull request needed and what does it do?

Affects the "sign" plugin.

Ensure that syntax errors encountered during zone parsing are reported immediately, rather than falling through to a misleading "no SOA record" error if the failure happens before the SOA record is reached. Added regression tests.

2. Which issues (if any) are related?

Similarly as #7774 for the file plugin, thanks to @rossigee.

3. Which documentation changes (if any) need to be made?

None.

4. Does this introduce a backward incompatible change or deprecation?

No.

Ensure that syntax errors encountered during zone parsing are
reported immediately, rather than falling through to a
misleading "no SOA record" error if the failure happens before
the SOA record is reached. Added regression tests.

Signed-off-by: Ville Vesilehto <ville@vesilehto.fi>
@yongtang yongtang merged commit d37f7f7 into coredns:master Dec 23, 2025
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants