1
1
dnsmasq fails to start on boot of Ubuntu 13.10, showing the error in the syslog:
dnsmasq failed to create listening socket for 192.168.0.10: Cannot assign requested address
When I start it manually, it works great. Here is the dnsmasq.conf:
bogus-priv
server=212.27.40.240
server=212.27.40.241
local=/mydomain.0./
# interface=eth0
listen-address=127.0.0.1
listen-address=192.168.0.10
expand-hosts
domain=mydomain.0.
dhcp-range=192.168.0.20,192.168.0.100,24h
dhcp-option=3,192.168.0.1
dhcp-option=vendor:MSFT,2,1i
cname="www.mydomain.0",myhost
As I understand it, NetworkManager uses an instance of a cut-down version of dnsmasq that can conflict with the full version. I am guessing this is the cause of the problem. I would like to have the host with the server on it, plus all of the other hosts on the network, use dnsmasq.
Any ideas about what is going on?
I removed networkmanager and rebooted, but dnsmasq did not start. I have assigned the server a static IP address (using the Network Manager). – Paul B – 2013-12-06T15:24:45.333