Skip to content

DNS error rcode type #184

@sunfishcode

Description

@sunfishcode

The DNS-error-payload type is currently defined as this:

  /// Defines the case payload type for `DNS-error` above:
  @since(version = 0.2.0)
  record DNS-error-payload {
    rcode: option<string>,
    info-code: option<u16>
  }

This has the rcode value be a string. However, DNS rcodes have standardized values that are defined in terms of u16 values.

With the current type being string, implementations appear to be using ad-hoc error messages which don't correspond to any standardized rcode value.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions