playdoh icon indicating copy to clipboard operation
playdoh copied to clipboard

application/dns+json encoding

Open sebdeckers opened this issue 6 years ago • 0 comments

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

sebdeckers avatar Feb 04 '19 02:02 sebdeckers