V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
andrewhxism
V2EX  ›  程序员

openwrt + dnscrypt,彻底解决DNS污染问题

  •  
  •   andrewhxism · 2014-01-25 22:03:51 +08:00 · 20496 次点击
    这是一个创建于 3715 天前的主题,其中的信息可能已经有所发展或是发生改变。
    之前买的某P-link的便携路由器,刷了openwrt,放家里做wifi中继。
    这两天用google用的太不爽了,想到之前用过openDNS的dnscrypt,刚想在本上装一下,结果搜了下openwrt + dnscrypt,发现openwrt的wiki上已经有人给做好了软件包,一路命令行搞定。

    攻略在此:http://wiki.openwrt.org/inbox/dnscrypt

    现在在电脑上执行nslookup,已经有正确的结果了,谷歌加密搜索 docs plus之类的也没问题。

    C:\Users\andrewhxism>nslookup twitter.com
    服务器: OpenWrt.lan
    Address: 192.168.10.199

    非权威应答:
    名称: twitter.com
    Addresses: 199.59.150.7
    199.59.150.39
    199.59.149.230
    8 条回复    2014-07-27 12:25:33 +08:00
    qvvo
        1
    qvvo  
       2014-01-26 01:18:10 +08:00
    晚上到家试试
    ovear
        2
    ovear  
       2014-01-26 01:23:21 +08:00
    这有个问题,会导致eDns失效。。
    kfll
        3
    kfll  
       2014-01-26 10:51:29 +08:00 via iPad
    我用非53端口
    mengyang
        4
    mengyang  
       2014-01-26 14:21:51 +08:00
    @kfll 你买Ipad了呀 :)
    kfll
        5
    kfll  
       2014-01-26 19:32:49 +08:00
    @mengyang 嗯,mini retina~
    andrewhxism
        6
    andrewhxism  
    OP
       2014-01-26 21:13:35 +08:00
    @ovear 神马是edns?
    hero18688
        7
    hero18688  
       2014-07-11 23:38:50 +08:00
    root@OpenWrt:~# nslookup twitter.com
    Server: 127.0.0.1
    Address 1: 127.0.0.1 localhost

    Name: twitter.com
    Address 1: 199.59.148.10 r-199-59-148-10.twttr.com
    Address 2: 199.59.148.82 r-199-59-148-82.twttr.com
    Address 3: 199.59.149.230 www4.twitter.com
    Address 4: 199.59.149.198 www2.twitter.com
    root@OpenWrt:~#

    我这边也可以解释twitter,但就是打不开网页,还需要什么呢
    andrewhxism
        8
    andrewhxism  
    OP
       2014-07-27 12:25:33 +08:00
    @hero18688 使用https://twitter.com
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   1014 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 19:56 · PVG 03:56 · LAX 12:56 · JFK 15:56
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.