兜兜转转还是用回了运营商 DNS

51 分钟前
 aa11ss55

最开始用的是阿里和腾讯的 DoQ/DoT, 看日志发现某些查询延迟高得吓人. 换成 DoH 以后好了不少. 但是失败率依然很高, 推测是撞 QPS 墙了. 最后还是换回了运营商的 DNS, 加上分流也不用太担心污染的问题.

我自用的 vibe 的小项目, 基于 coredns: Kamishirasawa-keine/coredns 支持 geosite 分流 与广告屏蔽. 欢迎来提 issue. 预编译包见 ci.

我的 Corefile 配置:

.:53 {
    bind ::
    prometheus 127.0.0.1:9153
    errors
    bufsize 1232
    blocklist oisd.txt pcdn.txt {
        block_response NXDOMAIN
        allowlist allowlist.txt
    }
    cache {
        success 32768 86400 5
        denial 32768 3600 5
        serve_stale 86400s immediate 30s
    }
    splitroute {
        mode local_first
        reload 10m
        fallback 500ms
#        bootstrap-dns 2400:3200::1
        local udp://[240e:1f:1::1] udp://202.96.128.86 udp://202.96.134.33 {
            concurrent 2
            timeout 2s
            ignore-rcode SERVFAIL
        }
        remote tls://[2606:4700:4700::1111] tls://[2606:4700:4700::1001] {
            concurrent 2
            timeout 5s
            pipeline
        }
    }
}
162 次点击
所在节点    宽带症候群
0 条回复

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

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

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

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

© 2021 V2EX