arch linux dnsmasq 无法启动?

2016-09-27 21:14:22 +08:00
 emacszy
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
5103 次点击
所在节点    DNS
4 条回复
582033
2016-09-27 21:35:17 +08:00
没法启动不应该贴日志的么 jxxxx -xe
emacszy
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
2016-09-27 21:47:32 +08:00
failed to create listening socket for port 53: Address already in use
emacszy
2016-09-27 21:48:36 +08:00
原来 named 已经启动,关了 named 就好了,
新问题
dig www.taobao.com @127.0.0.1 +short
64.71.142.121
查询不对

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/309383

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX