Frank98
V2EX  ›  DNS

求助! dnsmasq 无法启动。

  •  
  •   Frank98 · Mar 8, 2018 · 10346 views
    This topic created in 2987 days ago, the information mentioned may be changed or developed.

    service dnsmasq restarthe 和 strat 命令会报错:

    Job for dnsmasq.service failed because the control process exited with error code. See "systemctl status dnsmasq.service" and "journalctl -xe" for details.

    配置文件只修改了两个地方: #listen-address= listen-address=127.0.0.1, 10.8.0.1

    #bind-interfaces bind-interfaces

    5 replies    2018-03-08 13:35:54 +08:00
    Frank98
        1
    Frank98  
    OP
       Mar 8, 2018
    现找出以下错误:
    error: maximum authentication attempts exceeded for root from 112.1.47.237 port 21529 ssh2 [preauth]

    junk found in command line

    FAILED to start up

    failed to create listening socket for 10.8.0.1: Cannot assign requested address.

    FAILED to start up

    Failed to start dnsmasq - A lightweight DHCP and caching DNS server.

    请问该怎么解决?
    skylancer
        2
    skylancer  
       Mar 8, 2018
    --test
    skylancer
        3
    skylancer  
       Mar 8, 2018
    listen-address=0.0.0.0
    Frank98
        4
    Frank98  
    OP
       Mar 8, 2018
    @skylancer 可是我需要用 10.8.0.1 的 ip,设置为 0.0.0.0 会有影响吗?
    Frank98
        5
    Frank98  
    OP
       Mar 8, 2018
    @skylancer 谢谢您,刚才我设置为 listen-address=0.0.0.0 就可以正常启动了
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2643 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 29ms · UTC 16:02 · PVG 00:02 · LAX 09:02 · JFK 12:02
    ♥ Do have faith in what you're doing.