[Bug 974667] [NEW] dnsmasq does not bind to a port
Jacek N
974667 at bugs.launchpad.net
Thu Apr 5 21:40:51 UTC 2012
Public bug reported:
When I boot into the installation CD (kubuntu-12.04-beta2-desktop-i386)
DNS service does not work properly. resolv.conf points to 127.0.0.1
which seems correct, /var/run/nm-dns-dnsmasq.conf contains correct
nameserver IP.
I think it is to do with the fact that nothing listens on port 53.
kubuntu at kubuntu:~$ sudo netstat -nlptu|grep 53
udp 0 0 0.0.0.0:5353 0.0.0.0:* 1173/avahi-daemon:
udp6 0 0 :::5353 :::* 1173/avahi-daemon:
kubuntu at kubuntu:~$
dnsmasq is running:
kubuntu at kubuntu:~$ ps -ef|grep /usr/sbin/dnsmasq
nobody 1275 1191 0 21:17 ? 00:00:00 /usr/sbin/dnsmasq --no-resolv --keep-in-foreground --no-hosts --bind-interfaces --pid-file=/var/run/sendsigs.omit.d/network-manager.dnsmasq.pid --listen-address=127.0.0.1 --conf-file=/var/run/nm-dns-dnsmasq.conf --cache-size=0 --proxy-dnssec
When I do lsof it show interesting results:
kubuntu at kubuntu:~$ sudo lsof|grep 1275
<info ommited>
dnsmasq 1275 nobody 3r sock 0,7 0t0 11578 can't identify protocol
dnsmasq 1275 nobody 4w FIFO 0,8 0t0 11587 pipe
dnsmasq 1275 nobody 5u FIFO 0,8 0t0 11587 pipe
dnsmasq 1275 nobody 6u unix 0xec3126c0 0t0 11589 socket
If I kill the process, recreate /var/run/nm-dns-dnsmasq.conf and start it on the CLI manually everything is fine (I can resolve hostname and and dnsmasq binds to the port 53)
kubuntu at kubuntu:~$ sudo netstat -nlput|grep 53
I am using VirtualBox 4.1.12 for testing with almost default config of
my VM. It happens every time so if you need any more details I can
provide them easily.
ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: dnsmasq-base 2.59-4
ProcVersionSignature: Ubuntu 3.2.0-20.33-generic-pae 3.2.12
Uname: Linux 3.2.0-20-generic-pae i686
ApportVersion: 1.95-0ubuntu1
Architecture: i386
CasperVersion: 1.312
Date: Thu Apr 5 21:22:21 2012
LiveMediaBuild: Kubuntu 12.04 LTS "Precise Pangolin" - Beta i386 (20120328)
ProcEnviron:
LANGUAGE=
TERM=xterm
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: dnsmasq
UpgradeStatus: No upgrade log present (probably fresh install)
** Affects: dnsmasq (Ubuntu)
Importance: Undecided
Status: New
** Tags: apport-bug i386 precise
--
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/974667
Title:
dnsmasq does not bind to a port
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dnsmasq/+bug/974667/+subscriptions
More information about the Ubuntu-server-bugs
mailing list