playdoh
playdoh copied to clipboard
application/dns+json encoding
Would be nice to support JSON as an alternative data format. Much easier to work with as developers or looking at the traffic in curl/inspector. Should be supported for parsing incoming requests (content-type header) as well as generating/translating responses (accept header).
RFC 8427 Representing DNS Messages in JSON
- https://datatracker.ietf.org/doc/rfc8427/
- https://developers.cloudflare.com/1.1.1.1/dns-over-https/json-format/ (note: wrong MIME type)
- https://www.iana.org/assignments/media-types/application/dns+json