RFC8484 DNS Queries over HTTPS (DoH)1
MIME
application/dns-message
。
- Type :
application
。 - SubType :
dns-message
。 - 编码格式 : 二进制格式,定义在RFC10352。
Example
:method = GET
:scheme = https
:authority = dnsserver.example.net
:path = /dns-query?dns=AAABAAABAAAAAAAAA3d3dwdleGFtcGxlA2NvbQAAAQAB
accept = application/dns-message
:status = 200
content-type = application/dns-message
content-length = 61
cache-control = max-age=3709
00 00 81 80 00 01 00 01 00 00 00 00 03 77 77 77
07 65 78 61 6d 70 6c 65 03 63 6f 6d 00 00 1c 00
01 c0 0c 00 1c 00 01 00 00 0e 7d 00 10 20 01 0d
b8 ab cd 00 12 00 01 00 02 00 03 00 04
待补充...
Reference
RFC8484 DNS over HTTPS (DoH) : https://datatracker.ietf.org/doc/html/rfc8484 ↩︎
DOMAIN NAMES - IMPLEMENTATION AND SPECIFICATION : https://datatracker.ietf.org/doc/html/rfc1035 ↩︎