dnsmasq to provide public DNS service

0

If I'm to provide DNS service to the public using dnsmasq, how to set the listen-address? I changed mine from 192.168.1.1 to 0.0.0.0 and it stops working:

$ cat /etc/dnsmasq.d/public.conf
# listen to public
listen-address=0.0.0.0
# provide only DNS service and disable DHCP and TFTP on it
no-dhcp-interface=eth0

$ dig +short docs.google.com
;; connection timed out; no servers could be reached

$ netstat -ulnp | grep :53
(Not all processes could be identified, non-owned process info
 will not be shown, you would have to be root to see it all.)
udp        0      0 0.0.0.0:53              0.0.0.0:*                           -               
udp6       0      0 :::53                   :::*                                -               

Please help. Thanks.

xpt

Posted 2016-06-27T15:37:53.370

Reputation: 5 548

...why dnsmasq and not Unbound? – user1686 – 2016-06-27T16:07:40.530

@grawity hmm... as long as it can get the job done. Are you willing to give detailed steps, or provide url with detailed steps? I do prefer dnsmasq though, because that's what provided by default by Ubuntu, and I assumed that there was a reason. – xpt – 2016-06-27T16:22:36.297

No answers