[Dnsmasq-discuss] dnsmasq not working as DNS server for client machines
Chris Green
cl at isbd.net
Fri May 23 11:08:19 UTC 2014
Here's my problem, I think:-
root at chris:/etc# netstat -nlptu|grep 53
tcp 0 0 127.0.0.1:53 0.0.0.0:* LISTEN 1374/dnsmasq
tcp6 0 0 ::1:53 :::* LISTEN 1374/dnsmasq
udp 0 0 0.0.0.0:35316 0.0.0.0:* 712/rpc.statd
udp 0 0 127.0.0.1:53 0.0.0.0:* 1374/dnsmasq
udp 0 0 0.0.0.0:5353 0.0.0.0:* 1102/avahi-daemon:
udp6 0 0 ::1:53 :::* 1374/dnsmasq
udp6 0 0 :::53679 :::* 1594/rpc.mountd
udp6 0 0 :::5353 :::* 1102/avahi-daemon:
udp6 0 0 :::55397 :::* 1102/avahi-daemon:
So dnsmasq is only listening on localhost port 53, how do I tell it to
listen on 192.168.1.4 as well?
I've fixed it by adding an explicit 'interface=eth0' line to my
dnsmasq.conf file, but I don't really understand why it's necessary, I
didn't have to do this on the previous dnsmasq installation and it was
running the same version of dnsmasq (2.68).
What would make dnsmasq listen only on the loopback interface when
there are no explicit interface or listen-address options set in
dnsmasq.conf?
Finally I'd prefer to make dnsmasq listen on just the loopback
interface and 192.168.1.4 by setting the listen address rather than
using 'interface='. How do I specify two addresses, do they both go
on on listen-address= (comma spearated, space separated?) or do I put
two listen-address= lines?
--
Chris Green
More information about the Dnsmasq-discuss
mailing list