Ubuntu 16.04.3 LTS 安装的 Dnsmasq
配置文件没发现有什么问题
listen-address=192.168.0.4,127.0.0.1
cache-size=1500
no-resolv
no-poll
server=208.67.222.222#5353
server=208.67.222.220#5353
server=/cn/114.114.114.114
server=223.5.5.5
server=180.76.76.76
状态提示
● dnsmasq.service - dnsmasq - A lightweight DHCP and caching DNS server
Loaded: loaded (/lib/systemd/system/dnsmasq.service; enabled; vendor preset:
Drop-In: /run/systemd/generator/dnsmasq.service.d
└─50-dnsmasq-$named.conf, 50-insserv.conf-$named.conf
Active: failed (Result: exit-code) since Sun 2017-08-06 16:21:37 CST; 17s ago
Process: 1646 ExecStart=/etc/init.d/dnsmasq systemd-exec (code=exited, status=
Process: 1642 ExecStartPre=/usr/sbin/dnsmasq --test (code=exited, status=0/SUC
Aug 06 16:21:37 localhost systemd[1]: Starting dnsmasq - A lightweight DHCP and
Aug 06 16:21:37 localhost dnsmasq[1642]: dnsmasq: syntax check OK.
Aug 06 16:21:37 localhost dnsmasq[1646]: dnsmasq: failed to create listening soc
Aug 06 16:21:37 localhost systemd[1]: dnsmasq.service: Control process exited, c
Aug 06 16:21:37 localhost systemd[1]: Failed to start dnsmasq - A lightweight DH
Aug 06 16:21:37 localhost systemd[1]: dnsmasq.service: Unit entered failed state
Aug 06 16:21:37 localhost systemd[1]: dnsmasq.service: Failed with result 'exit-
配置文件没发现有什么问题
listen-address=192.168.0.4,127.0.0.1
cache-size=1500
no-resolv
no-poll
server=208.67.222.222#5353
server=208.67.222.220#5353
server=/cn/114.114.114.114
server=223.5.5.5
server=180.76.76.76
状态提示
● dnsmasq.service - dnsmasq - A lightweight DHCP and caching DNS server
Loaded: loaded (/lib/systemd/system/dnsmasq.service; enabled; vendor preset:
Drop-In: /run/systemd/generator/dnsmasq.service.d
└─50-dnsmasq-$named.conf, 50-insserv.conf-$named.conf
Active: failed (Result: exit-code) since Sun 2017-08-06 16:21:37 CST; 17s ago
Process: 1646 ExecStart=/etc/init.d/dnsmasq systemd-exec (code=exited, status=
Process: 1642 ExecStartPre=/usr/sbin/dnsmasq --test (code=exited, status=0/SUC
Aug 06 16:21:37 localhost systemd[1]: Starting dnsmasq - A lightweight DHCP and
Aug 06 16:21:37 localhost dnsmasq[1642]: dnsmasq: syntax check OK.
Aug 06 16:21:37 localhost dnsmasq[1646]: dnsmasq: failed to create listening soc
Aug 06 16:21:37 localhost systemd[1]: dnsmasq.service: Control process exited, c
Aug 06 16:21:37 localhost systemd[1]: Failed to start dnsmasq - A lightweight DH
Aug 06 16:21:37 localhost systemd[1]: dnsmasq.service: Unit entered failed state
Aug 06 16:21:37 localhost systemd[1]: dnsmasq.service: Failed with result 'exit-