V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX 提问指南
inee
V2EX  ›  问与答

本地dns也跪了,求方法!

  •  
  •   inee · 2013-09-12 19:17:49 +08:00 · 2302 次点击
    这是一个创建于 3900 天前的主题,其中的信息可能已经有所发展或是发生改变。
    各种dns fail!

    用的google dns 查询上游TCP ,UDP用的114和移动的本地dns。之前用着还好,今天出现大面积跪。。

    运营商你丧心病狂了么!
    8 条回复    1970-01-01 08:00:00 +08:00
    yaroot
        1
    yaroot  
       2013-09-12 19:35:42 +08:00
    unbound, 配置及其简单.
    inee
        2
    inee  
    OP
       2013-09-12 19:36:27 +08:00
    @yaroot 有没有详细教程?
    inee
        3
    inee  
    OP
       2013-09-12 19:37:09 +08:00
    @yaroot 这不就是本地dns ,之前了解过的
    yaroot
        4
    yaroot  
       2013-09-12 19:50:16 +08:00
    @inee 是的, 因为ISP的不稳定, 或者解出来的结果不好, 我这么自己架了好久了

    https://wiki.archlinux.org/index.php/Unbound
    https://calomel.org/unbound_dns.html

    这是我的配置模板
    server:
    username: "unbound"
    directory: "/etc/unbound"

    interface: 0.0.0.0
    interface: ::0

    access-control: ::1 allow
    access-control: 0.0.0.0/0 allow

    # `unbound-anchor -a /etc/unbound/root.key`
    auto-trust-anchor-file: "/etc/unbound/root.key"

    # ftp://FTP.INTERNIC.NET/domain/named.cache
    root-hints: "/etc/unbound/root.hints"

    hide-identity: yes
    hide-version: yes

    verbosity: 0
    use-syslog: yes

    # logfile: ""
    # log-queries: yes
    inee
        5
    inee  
    OP
       2013-09-12 19:57:31 +08:00
    @yaroot 感谢你的配置,当时我也折腾了半天。另外我现在用的按理说比这个更给力,是国外的一个大神制作的dns转发器。结果阵亡了,用这个看看,这个貌似支持dns加密等。
    yaroot
        6
    yaroot  
       2013-09-12 20:01:51 +08:00
    @inee 国外网站还不如就直接全代理/vpn了...速度还快..
    你用的工具和unbound又不冲突..应该可以一起用的
    inee
        7
    inee  
    OP
       2013-09-12 20:04:31 +08:00
    @yaroot 求个unbound懒人包吧。
    yaroot
        8
    yaroot  
       2013-09-12 20:09:05 +08:00
    @inee 官方网站下, windows装在默认位置, 其他都一样, 改好配置重启服务就行
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   1099 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 30ms · UTC 23:01 · PVG 07:01 · LAX 16:01 · JFK 19:01
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.