Module Dns.Extended_error

Extended DNS errors

Standardized in RFC 8914, this is a payload for Edns with a additional information about the cause of a DNS error.

type t = [ `Other | `Unsupported_Dnskey_algorithm | `Unsupported_Ds_digest | `Stale_answer | `Forged_answer | `Dnssec_indeterminate | `Dnssec_bogus | `Signature_expired | `Signature_not_yet_valid | `Dnskey_missing | `Rrsigs_missing | `No_zone_key_bit_set | `Nsec_missing | `Cached_error | `Not_ready | `Blocked | `Censored | `Filtered | `Prohibited | `Stale_Nxdomain_answer | `Not_authoritative | `Not_supported | `No_reachable_authority | `Network_error | `Invalid_data | `Unknown of int ] * string option
val pp : t Fmt.t

pp ppf e pretty-prints the error.