V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
liaoyaoheng
V2EX  ›  DNS

? Windows 的 DNS 解析用 TCP 协议的方法。求教

  •  
  •   liaoyaoheng · Feb 11, 2018 · 6176 views
    This topic created in 3004 days ago, the information mentioned may be changed or developed.
    9 replies    2018-02-12 10:44:44 +08:00
    janxin
        1
    janxin  
       Feb 11, 2018
    本地起一个 DNS proxy 转发 UDP 的请求成 TCP,本机 DNS 指过去就好了
    Cipool
        2
    Cipool  
       Feb 11, 2018 via Android
    acrylic dns proxy
    不但可以 TCP 解析,还能指定端口,多组 dns 服务器支持,按解析速度返回结果
    ChrisTsai
        3
    ChrisTsai  
       Feb 11, 2018   ❤️ 1
    NFC
        4
    NFC  
       Feb 11, 2018 via iPhone
    推荐 unbound dns.
    jasontse
        5
    jasontse  
       Feb 11, 2018 via iPad   ❤️ 1
    给你参考一下
    $ dig www.google.com @208.67.222.222 +short
    173.252.102.241
    $ dig www.google.com @208.67.222.222 +tcp +short
    ;; communications error to 208.67.222.222#53: connection reset
    miaomiao888
        7
    miaomiao888  
       Feb 12, 2018
    @jasontse
    λ dig www.google.com @208.67.222.222 +tcp +short
    ;; communications error to 208.67.222.222#53: network unreachable

    λ nslookup -vc www.google.com 208.67.222.222
    服务器: resolver1.opendns.com
    Address: 208.67.222.222

    非权威应答:
    名称: www.google.com
    Addresses: 2404:6800:4008:803::2004
    172.217.160.100
    miaomiao888
        8
    miaomiao888  
       Feb 12, 2018
    WIN7 下有人修改过某个系统文件可以实现换用 TCP 解析
    liaoyaoheng
        9
    liaoyaoheng  
    OP
       Feb 12, 2018
    Win10 不知道是否有大牛开发一下。 @miaomiao888
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1069 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 43ms · UTC 23:57 · PVG 07:57 · LAX 16:57 · JFK 19:57
    ♥ Do have faith in what you're doing.