emacszy
V2EX  ›  DNS

arch linux dnsmasq 无法启动?

  •  
  •   emacszy · Sep 27, 2016 · 5888 views
    This topic created in 3544 days ago, the information mentioned may be changed or developed.
    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 replies    2016-09-27 21:48:36 +08:00
    582033
        1
    582033  
       Sep 27, 2016 via Android
    没法启动不应该贴日志的么 jxxxx -xe
    emacszy
        2
    emacszy  
    OP
       Sep 27, 2016
    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  
       Sep 27, 2016
    failed to create listening socket for port 53: Address already in use
    emacszy
        4
    emacszy  
    OP
       Sep 27, 2016
    原来 named 已经启动,关了 named 就好了,
    新问题
    dig www.taobao.com @127.0.0.1 +short
    64.71.142.121
    查询不对
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1104 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 44ms · UTC 18:23 · PVG 02:23 · LAX 11:23 · JFK 14:23
    ♥ Do have faith in what you're doing.