DoT 和 DoH 有什么关键性的区别吗?

2020-07-28 16:13:32 +08:00
 brMu
阿里云的 DNS 已经支持了,腾讯也公测了,用软路由设置了下,没有遇到什么毛病。

那请问,DoT 和 DoH 有什么关键性的区别吗?在速度和安全性上?或者说更推荐用哪个?
6530 次点击
所在节点    分享发现
10 条回复
henvm
2020-07-28 16:52:31 +08:00
我猜是 t 和 h 的区别
maemual
2020-07-28 16:53:43 +08:00
安全性上倒是没啥区别。主要是 DoT 使用的是独有的 853 端口,比较容易看出来。
h4lt
2020-07-28 16:55:22 +08:00
How are DNS over TLS and DNS over HTTPS different?

Each standard was developed separately and has its own RFC* documentation, but the most important difference between DoT and DoH is what port they use. DoT only uses port 853, while DoH uses port 443, which is the port that all other HTTPS traffic uses as well.

Because DoT has a dedicated port, anyone with network visibility can see DoT traffic coming and going, even though the requests and responses themselves are encrypted. In contrast, with DoH, DNS queries and responses are somewhat camouflaged within other HTTPS traffic, since it all comes and goes from the same port.

Ref: https://www.cloudflare.com/learning/dns/dns-over-tls/
miaomiao888
2020-07-28 18:05:34 +08:00
然而事实上目前用 443 的 DOH 反而更容易被干扰
所以主用 DOT,但日后推广开的话 DOT 可能更容易被封,还得回 DOH
brMu
2020-07-28 18:37:13 +08:00
@miaomiao888 你是用的国外的 dns 吗?
miaomiao888
2020-07-28 19:27:59 +08:00
@brMu 肯定了,国内也没 WFG 会去干扰呀,DNS 这东西还是纯净的好
tinkerer
2020-07-28 19:55:25 +08:00
@miaomiao888 DoH 用好 padding 被防火墙识别的概率跟 DoT 没得啥区别吧,当然首先我想知道你说的抗干扰是指可识别性还是指?
jamesxu
2020-07-28 19:57:00 +08:00
@miaomiao888 然而 1.1.1.1 和 8.8.8.8 经常被运营商干扰
tinkerer
2020-07-28 20:01:15 +08:00
另,DoH 的反向代理很简单
miaomiao888
2020-07-28 21:29:37 +08:00
@tinkerer 指稳定性,443 是重点关照端口,不光 DOH,平时 HTTPS 的网站也偶尔超时,而 DOT 虽然固定用的 853,但目前算是还没被关照,稳定点

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/693784

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX