DoT / DoH 探测
DoT / DoH 探测
openssl s_client -connect 1.1.1.1:853 -servername cloudflare-dns.com </dev/null 2>&1 | head -20
kdig +tls @1.1.1.1 example.com # knot 工具(若安装)
dig +tls @1.1.1.1 example.com # BIND 9.18+ 支持
curl -sS -D- 'https://dns.alidns.com/resolve?name=example.com&type=A' -o /dev/null | head -5 # DoH GET 形式浏览器『安全 DNS』开启后,抓包看不到 53 明文查询(变成 443/853 流量),排 DNS 问题时先确认客户端解析路径。