[Bug 959037] Re: NM-controlled dnsmasq prevents other DNS servers from starting
Thomas Hood
959037 at bugs.launchpad.net
Tue Jul 17 10:40:48 UTC 2012
Note: the dnsmasq.d file included in the new n-m release includes both
"bind-interfaces" and "except-interface=lo".
This is already a big improvement. It allows standalone dnsmasq to run
on a system with NM and nm-dnsmasq: standalone dnsmasq listens on
interfaces other than lo and forwards queries to nm-dnsmasq at
127.0.0.1.
$ dpkg -l dnsmasq network-manager|grep ^ii
ii dnsmasq 2.62-3 Small caching DNS proxy and DHCP/TFTP server
ii network-manager 0.9.6.0~git201207161259.00297f4-0ubuntu1 network management framework (daemon and userspace tools)
$ cat /etc/dnsmasq.d/network-manager
# Tell any system-wide dnsmasq instance to not bind to the loopback interface.
# WARNING: changes to this file will get lost if network-manager is removed.
bind-interfaces
except-interface=lo
$ cat /etc/resolv.conf
# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
# DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
nameserver 127.0.0.1
search [redacted]
$ cat /var/run/dnsmasq/resolv.conf
nameserver 127.0.0.1
$ cat /var/run/nm-dns-dnsmasq.conf
server=192.168.1.254
server=195.241.76.55
server=195.241.76.58
$ sudo netstat -nl4p |grep :53
tcp 0 0 192.168.1.20:53 0.0.0.0:* LISTEN 7039/dnsmasq
tcp 0 0 192.168.1.21:53 0.0.0.0:* LISTEN 7039/dnsmasq
tcp 0 0 127.0.0.1:53 0.0.0.0:* LISTEN 6282/dnsmasq
udp 0 0 192.168.1.20:53 0.0.0.0:* 7039/dnsmasq
udp 0 0 192.168.1.21:53 0.0.0.0:* 7039/dnsmasq
udp 0 0 127.0.0.1:53 0.0.0.0:* 6282/dnsmasq
udp 0 0 0.0.0.0:5353 0.0.0.0:* 1103/avahi-daemon:
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to dnsmasq in Ubuntu.
https://bugs.launchpad.net/bugs/959037
Title:
NM-controlled dnsmasq prevents other DNS servers from starting
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/djbdns/+bug/959037/+subscriptions
More information about the Ubuntu-server-bugs
mailing list