[Dnsmasq-discuss] dnsmasq unexpectedly stopped stopped resolving hostnames
Beware of the Hare
hujumuju at gmail.com
Sun Oct 14 19:06:54 BST 2012
Hello.
I am running my ubuntu sever for over 2 years - Ubuntu 12.04.1 LTS
(GNU/Linux 3.2.0-32-generic x86_64) as today.
I am using dnsmasq as DHCP server and DNS forwarder.
Today dnsmasq unexpectedly stopped resolving hostnames.
ps aux|grep dnsmasq
dnsmasq 3359 0.0 0.0 30052 940 ? S 19:13 0:00 /usr/sbin/dnsmasq -x
/var/run/dnsmasq/dnsmasq.pid -u dnsmasq -r
/var/run/dnsmasq/resolv.conf -7
/etc/dnsmasq.d,.dpkg-dist,.dpkg-old,.dpkg-new
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
I am not using Network Manager, all interfaces are configured manualy:
cat /etc/network/interfaces
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet dhcp
dns-nameservers 8.8.8.8 8.8.4.4
auto eth1
iface eth1 inet static
address 192.168.2.1
netmask 255.255.255.0
auto wlan3
iface wlan3 inet static
address 192.168.3.1
netmask 255.255.255.0
When dnsmasq is running:
nslookup wp.pl
Server: 127.0.0.1
Address: 127.0.0.1#53
Non-authoritative answer:
*** Can't find wp.pl: No answer
When i shut down dnsmasq, all name resolution works fine.
/etc/init.d/dnsmasq stop
* Stopping DNS forwarder and DHCP server dnsmasq
...done.
nslookup wp.pl
Server: 79.135.160.6
Address: 79.135.160.6#53
Non-authoritative answer:
Name: wp.pl
Address: 212.77.100.101
Thanks for any help. This is weird...
More information about the Dnsmasq-discuss
mailing list