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

Start decoding EDE #969

Closed
geeohgeegeeoh opened this issue Jul 27, 2023 · 3 comments
Closed

Start decoding EDE #969

geeohgeegeeoh opened this issue Jul 27, 2023 · 3 comments
Labels
Enhancement Request Future A longer term issue, possibly addressed in the future.

Comments

@geeohgeegeeoh
Copy link

Motivation

The beginnings of extended error codes are visible in the source.

Cloudflare public DNS now returns them and "dig" interprets them into comments.

I'd like to be able to "see" these as decomposed high level constructs inside dnspython.

Describe the solution you'd like.

Could adorn the Exception classes? or, they could be some other datastruct. I think their main use is as adjunct information to error/fail/nxdomain/timeout type responses which is why I think it might be populating the exception classes.

@pspacek
Copy link
Collaborator

pspacek commented Jul 27, 2023

I would expect something like list of EDEs, where each item is [enum-value, extra-text]. It probably makes sense to tack it onto Exceptions thrown from resolver, but for non-error cases I think DNS message might get a helper property to extract this from EDNS.

@geeohgeegeeoh
Copy link
Author

geeohgeegeeoh commented Jul 27, 2023 via email

@rthalley rthalley added the Future A longer term issue, possibly addressed in the future. label Nov 6, 2023
rthalley added a commit that referenced this issue Feb 19, 2024
@rthalley
Copy link
Owner

basic support added

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement Request Future A longer term issue, possibly addressed in the future.
Projects
None yet
Development

No branches or pull requests

3 participants