Timetombs

泛义的工具是文明的基础,而确指的工具却是愚人的器物

66h / 116a
,更新于 2024-04-06T22:06:23Z+08:00 by   35f4f88

[计算机网络] DoH(DNS over HTTPS)

版权声明 - CC BY-NC-SA 4.0

RFC8484 DNS Queries over HTTPS (DoH)1

MIME

application/dns-message

  1. Type : application
  2. SubType : dns-message
  3. 编码格式 : 二进制格式,定义在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


  1. RFC8484 DNS over HTTPS (DoH) : https://datatracker.ietf.org/doc/html/rfc8484 ↩︎

  2. DOMAIN NAMES - IMPLEMENTATION AND SPECIFICATION : https://datatracker.ietf.org/doc/html/rfc1035 ↩︎

上一篇 : [计算机网络] DNS(Domain Name System)