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

arch linux dnsmasq 无法启动?

  •  
  •   emacszy · 2016-09-27 21:14:22 +08:00 · 5092 次点击
    这是一个创建于 2964 天前的主题,其中的信息可能已经有所发展或是发生改变。
    dnsmasq.conf:


    listen-address=127.0.0.1

    # cache - size = 1000
    no-resolv
    no-poll
    server=8.8.8.8
    server=8.8.4.4
    server=/cn/114.114.114.114
    server=/taobao.com/114.114.114.114
    server=/taobaocdn.com/114.114.114.114
    server=/tbcache.com/114.114.114.114
    server=/tdimg.com/114.114.114.114


    conf-dir=/etc/dnsmasq.d
    4 条回复    2016-09-27 21:48:36 +08:00
    582033
        1
    582033  
       2016-09-27 21:35:17 +08:00 via Android
    没法启动不应该贴日志的么 jxxxx -xe
    emacszy
        2
    emacszy  
    OP
       2016-09-27 21:37:24 +08:00
    Sep 27 21:08:33 dell systemd[1]: Starting A lightweight DHCP and caching DNS server...
    Sep 27 21:08:34 dell dnsmasq[2510]: dnsmasq: syntax check OK.
    Sep 27 21:08:34 dell dnsmasq[2512]: dnsmasq: failed to create listening socket for port 53: Address already in use
    Sep 27 21:08:34 dell systemd[1]: dnsmasq.service: Main process exited, code=exited, status=2/INVALIDARGUMENT
    Sep 27 21:08:34 dell systemd[1]: Failed to start A lightweight DHCP and caching DNS server.
    Sep 27 21:08:34 dell systemd[1]: dnsmasq.service: Unit entered failed state.
    Sep 27 21:08:34 dell systemd[1]: dnsmasq.service: Failed with result 'exit-code'.
    20150517
        3
    20150517  
       2016-09-27 21:47:32 +08:00
    failed to create listening socket for port 53: Address already in use
    emacszy
        4
    emacszy  
    OP
       2016-09-27 21:48:36 +08:00
    原来 named 已经启动,关了 named 就好了,
    新问题
    dig www.taobao.com @127.0.0.1 +short
    64.71.142.121
    查询不对
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   2543 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 22ms · UTC 01:34 · PVG 09:34 · LAX 17:34 · JFK 20:34
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.