由于网络管理器冲突,dnsmasq是否未加载?


12

我正在使用12.10,并且一直使用dnsmasq。几天前,我在启动过程中发现了奇怪的消息:

NetworkManager[1316]: <warn> DNS: plugin dnsmasq update failed
dnsmasq[1302]: failed to create listening socket for 127.0.0.1: Address already in use
dnsmasq[1302]: FAILED to start up
NetworkManager[1316]: <info> DNS: starting dnsmasq...
NetworkManager[1316]: <error> [1362028900.869958] [nm-dns-dnsmasq.c:390] update(): dnsmasq not available on the bus, can't update servers.
NetworkManager[1316]: <error> [1362028900.869979] [nm-dns-dnsmasq.c:392] update(): dnsmasq owner not found on bus: Could not get owner of name 'org.freedesktop.NetworkManager.dnsmasq': no such name
NetworkManager[1316]: <warn> DNS: plugin dnsmasq update failed
dnsmasq[1876]: warning: no upstream servers configured

这是我的/etc/dnsmasq.confhttp : //pastebin.com/AnKrrg6k

这是我的/etc/dnsmasq.d/network-manager

# Tell any system-wide dnsmasq instance to make sure to bind to interfaces
# instead of listening on 0.0.0.0
# WARNING: changes to this file will get lost if network-manager is removed.
bind-interfaces

如果需要更多信息,请询问!

Answers:


11

从链接https://help.ubuntu.com/community/Dnsmasq中提取

请注意,软件包“ dnsmasq”会干扰网络管理器,后者在共享Internet连接时可以使用“ dnsmasq-base”来提供DHCP服务。因此,如果您使用网络管理器(仅适用于简单设置),请安装dnsmasq-base,而不要安装dnsmasq。如果设置比较复杂,请卸载网络管理器,使用dnsmasq或类似软件(bind9,dhcpd等),然后手动进行配置。

By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.