Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Attempt to give more context on unknown record type zone file parsing errors. #450

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

ximon18
Copy link
Member

@ximon18 ximon18 commented Nov 27, 2024

This came about because I encountered error messages like:

Invalid zone file: 58:9: unknown record type

Which record type? If I have access to the source file still at the time of inspecting the error then I can determine the RTYPE from the input file, but if the file is gone or was never available due to being XFR or taken from a database or something then the lack of the actual RTYPE is quite annoying.

I suspect this is a breaking change, as I think the zone file parsing was released before we added unstable support for parsing into a zone tree.

Note: This PR doesn't fully extend StrError as in my scenario I don't seem to use it, perhaps we should augment that more, and doesn't update any tests.

… errors. Doesn't fully extend `StrError` as in my scenario I don't seem to use it.
@ximon18 ximon18 added breaking A PR that includes a breaking change. needs-review labels Nov 27, 2024
@ximon18 ximon18 requested a review from a team November 27, 2024 09:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking A PR that includes a breaking change. needs-review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant