新的公共 dns 9.9.9.9 支持 DNS-over-TLS(T-DNS) - V2EX
V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
redsonic
V2EX    宽带症候群

新的公共 dns 9.9.9.9 支持 DNS-over-TLS(T-DNS)

  •  
  •   redsonic 2017-11-17 20:54:04 +08:00 11379 次点击
    这是一个创建于 2955 天前的主题,其中的信息可能已经有所发展或是发生改变。
    国内不知道多长时间会被玩坏。实测目前 Q9 T-DNS 的疗效不错。

    ./tdns-client-proxy -s 9.9.9.9

    main.cc:main:100 : start proxy as direct TLS
    main.cc:main:113 : listen ip [127.0.0.1], port [53]
    main.cc:main:114 : server ip [9.9.9.9], port [853],upstream [TLS]
    client_proxy.cc:start:549 : start
    client_proxy.cc:run_ssl:495 : start
    client_proxy.cc:connect_server:256 : start
    client_proxy.cc:tcp_conn_svr:82 : start
    client_proxy.cc:tcp_conn_svr:96 : end
    client_proxy.cc:connect_server:258 : tcp socket connected
    client_proxy.cc:connect_server:271 : end
    client_proxy.cc:run_ssl:499 : successful server connection
    client_proxy.cc:clt_read_ev_init:623 : start
    client_proxy.cc:clt_read_ev_init:634 : end
    client_proxy.cc:ssl_event_cb:289 : start
    client_proxy.cc:ssl_event_cb:297 : fd[7] connected
    client_proxy.cc:ssl_event_cb:309 : end
    client_proxy.cc:ssl_event_cb:289 : start
    client_proxy.cc:ssl_event_cb:303 : fd[7] got a close
    client_proxy.cc:renew_ssl:318 : start
    client_proxy.cc:renew_ssl:324 : clean up ssl
    client_proxy.cc:renew_ssl:335 : stop old event
    client_proxy.cc:connect_server:256 : start
    client_proxy.cc:tcp_conn_svr:82 : start
    client_proxy.cc:tcp_conn_svr:96 : end
    client_proxy.cc:connect_server:258 : tcp socket connected
    client_proxy.cc:connect_server:271 : end
    client_proxy.cc:renew_ssl:340 : renew a connection successfully, fd[8]
    client_proxy.cc:renew_ssl:343 : new bufferevent
    client_proxy.cc:renew_ssl:349 : svr_fd[8]
    client_proxy.cc:ssl_event_cb:309 : end
    client_proxy.cc:ssl_event_cb:289 : start
    client_proxy.cc:ssl_event_cb:297 : fd[8] connected
    client_proxy.cc:ssl_event_cb:309 : end


    dig www.facebook.com @127.0.0.1 +short
    star-mini.c10r.facebook.com.
    31.13.95.36

    dig www.google.com @127.0.0.1 +short
    216.58.219.196

    dig www.twitter.com @127.0.0.1 +short
    twitter.com.
    104.244.42.65
    104.244.42.1

    @coolcoffee
    lybtongji
        1
    lybtongji  
       2017-11-17 22:48:07 +08:00
    tdns-client-proxy 是不是不支持 IPv6 ?
    redsonic
        2
    redsonic  
    OP
       2017-11-18 00:26:02 +08:00
    @lybtongji 是的,不过改一下 client_proxy.cc 中的 my_udp_fd 相关套接字函数就可以了。可以先去 github 上找找有没有更好的 proxy 再动手不迟。tdns-client-proxy 只是个 hello world
    ericbize
        3
    ericbize  
       2017-11-18 08:30:26 +08:00
    64 bytes from 9.9.9.9: icmp_seq=2 ttl=55 time=33.444 ms


    1 172.16.0.1 (172.16.0.1) 1.975 ms 1.830 ms 1.651 ms
    2 121.122.105.? (121.122.105.1) 28.447 ms 44.248 ms 24.257 ms
    3 10.55.49.105 (10.55.49.105) 27.215 ms 27.159 ms 74.455 ms
    4 10.55.50.32 (10.55.50.32) 29.788 ms
    10.55.50.30 (10.55.50.30) 58.039 ms
    10.55.50.32 (10.55.50.32) 30.019 ms
    5 10.55.50.58 (10.55.50.58) 26.158 ms
    10.55.40.24 (10.55.40.24) 26.288 ms
    10.55.40.22 (10.55.40.22) 37.865 ms
    6 58.71.243.53 (58.71.243.53) 25.815 ms 26.980 ms 29.663 ms
    7 * * *
    8 202.122.151.186 (202.122.151.186) 33.225 ms 32.964 ms 33.493 ms
    9 42.sgw.equinix.com (27.111.228.1) 35.247 ms 35.505 ms 34.892 ms
    10 dns.quad9.net (9.9.9.9) 34.866 ms !Z 36.781 ms !Z 32.645 ms !Z


    坐标马来西亚
    mytsing520
        4
    mytsing520  
    PRO
       2017-11-18 11:39:09 +08:00
    防黑产供应商之一奇虎 360
    thetast
        5
    thetast  
       2017-11-18 16:39:10 +08:00
    深圳电信去欧洲,深圳移动直接无路由。
    关于     帮助文档     自助推广系统     博客     API     FAQ     Solana     2606 人在线   最高记录 6679       Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 27ms UTC 08:47 PVG 16:47 LAX 00:47 JFK 03:47
    Do have faith in what you're doing.
    ubao msn snddm index pchome yahoo rakuten mypaper meadowduck bidyahoo youbao zxmzxm asda bnvcg cvbfg dfscv mmhjk xxddc yybgb zznbn ccubao uaitu acv GXCV ET GDG YH FG BCVB FJFH CBRE CBC GDG ET54 WRWR RWER WREW WRWER RWER SDG EW SF DSFSF fbbs ubao fhd dfg ewr dg df ewwr ewwr et ruyut utut dfg fgd gdfgt etg dfgt dfgd ert4 gd fgg wr 235 wer3 we vsdf sdf gdf ert xcv sdf rwer hfd dfg cvb rwf afb dfh jgh bmn lgh rty gfds cxv xcv xcs vdas fdf fgd cv sdf tert sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf shasha9178 shasha9178 shasha9178 shasha9178 shasha9178 liflif2 liflif2 liflif2 liflif2 liflif2 liblib3 liblib3 liblib3 liblib3 liblib3 zhazha444 zhazha444 zhazha444 zhazha444 zhazha444 dende5 dende denden denden2 denden21 fenfen9 fenf619 fen619 fenfe9 fe619 sdf sdf sdf sdf sdf zhazh90 zhazh0 zhaa50 zha90 zh590 zho zhoz zhozh zhozho zhozho2 lislis lls95 lili95 lils5 liss9 sdf0ty987 sdft876 sdft9876 sdf09876 sd0t9876 sdf0ty98 sdf0976 sdf0ty986 sdf0ty96 sdf0t76 sdf0876 df0ty98 sf0t876 sd0ty76 sdy76 sdf76 sdf0t76 sdf0ty9 sdf0ty98 sdf0ty987 sdf0ty98 sdf6676 sdf876 sd876 sd876 sdf6 sdf6 sdf9876 sdf0t sdf06 sdf0ty9776 sdf0ty9776 sdf0ty76 sdf8876 sdf0t sd6 sdf06 s688876 sd688 sdf86