V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
Distributions
Ubuntu
Fedora
CentOS
中文资源站
网易开源镜像站
JackBlack2006
V2EX  ›  Linux

新手请教 chinadns+dnsmasq+unbound 的配置问题

  •  
  •   JackBlack2006 · 2015-01-26 16:01:37 +08:00 · 3343 次点击
    这是一个创建于 3403 天前的主题,其中的信息可能已经有所发展或是发生改变。

    我最近在本机 Unix 上面配置了 ChinaDNS + dnsmasq + unbound, 因为没什么编程经验, 是看得懂但不会编那种, 到处搜索教程以后经过几天总算搞定了, 不过不知道自己配置得对不对, 因为有时候好像速度还没有直接设置 114 来得快. 下面放出两份 conf 文件的内容给大家看看, 感谢大家的帮助 =)

    dnsmasq 的:

    port=5353
    resolv-file=/usr/local/etc/resolv.dnsmasq.conf
    strict-order
    no-resolv
    no-poll
    server=127.0.0.1#53
    listen-address=127.0.0.1
    cache-size=4096
    conf-dir=/etc/dnsmasq.d

    unbound.conf 的:

    server:
    verbosity: 1
    interface: 127.0.0.1
    port: 5454
    tcp-upstream: yes
    access-control: 127.0.0.0/8 allow
    username: "Unix20140623"
    auto-trust-anchor-file: "/usr/local/etc/unbound/root.key"
    python:
    remote-control:
    forward-zone:
    name: "."
    forward-addr: 8.8.4.4
    forward-addr: 8.8.8.8
    forward-addr: 208.67.222.222@5353
    forward-addr: 208.67.220.220@5353
    forward-first: no

    第 1 条附言  ·  2015-01-27 09:55:06 +08:00
    喔, 我总觉得发 Linux 节点是不是不对啊, 这是 Unix 上的问题呢... 哪位好心版主可以移动一下吧, 也许到 ChinaDNS 节点比较好? 谢谢了
    目前尚无回复
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   3228 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 25ms · UTC 00:54 · PVG 08:54 · LAX 17:54 · JFK 20:54
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.