Skip to content

Conversation

@sunfishcode
Copy link
Member

Use dedicated enums instead of string and u16 values for the DNS-error-payload rcode and info-code fields, using the known values semi-automatically extracted from IANA.

And add an extra-text value, which may hold the EXTRA-TEXT field from RFC 8914, or an implementation-specific error message.

This is an alternative to #204.

Use dedicated enums instead of `string` and `u16` values for the
`DNS-error-payload` `rcode` and `info-code` fields, using the known
values semi-automatically extracted from [IANA].

And add an `extra-text` value, which may hold the EXTRA-TEXT field
from RFC 8914, or an implementation-specific error message.

This is an alternative to #204.

[IANA]: https://www.iana.org/assignments/dns-parameters/dns-parameters.xhtml
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.

1 participant