[Dnsmasq-discuss] failed to create listening socket
Pan, Peter
floetevonpeter at gmail.com
Fri May 11 09:48:48 BST 2018
Hello from Germany,
I have installed DNSMASQ a few days ago, but at the time, the service
for dnsmasq don't want to run. I use dnsmasq as a dns-server for my
local network, including three other computers. Every time I tries to
start the service, I have one type of error messages:
failed to create listening socket for 192.168.178.15
FAILED to start up
Failed to start dnsmasq - A lightweight DHCP and caching DNS server
My dnsmasq.conf:
listen-address=127.0.0.1,192.168.178.10,192.168.178.12,192.168.178.15
resolv-file=/srv/dns/nameserver.conf
The nameserver.conf:
nameserver: 127.0.0.1
nameserver: 192.168.178.1
My hosts file:
127.0.0.1 localhost
127.0.1.1 RASPBERRY-PI-SERVER
192.168.178.1 fritz.box.luna.lan fritz.box ## Router
FRITZ!Box 7430
192.168.178.10 e1-pc.luna.lan e1-pc ## Laptop E1-PC
192.168.178.12 e2-pc.luna.lan e2-pc ## Laptop E2-PC
192.168.178.15 erik-galaxay-a5-2017.luna.lan erik-galaxy-a5-2017 ##
Smartphone Erik
# The following lines are desirable for IPv6 capable hosts
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
My router is FRITZ!Box 7430. The IP from my RASPBERRY-PI is
192.168.178.3 (static) and the operating system is a normal Ubuntu.
Another problem is the file nameserver.conf. The path of the file is
right. But every time I have a look in the log-file, dnsmasq tries to
read the normal /var/run/dnsmasq/resolv.conf. This file is empty. Every
time, I tried to write something in that file, the next time the file is
going to be overwritten, and than the resolv.conf is empty. So I have
decided to create an other file with the nameserver.
Thank your for your help in advance.
Peter Pan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/attachments/20180511/90841cc3/attachment.html>
More information about the Dnsmasq-discuss
mailing list