Se eu for fornecer o serviço DNS ao público usando o dnsmasq, como definir o listen-address
? Eu mudei o meu de 192.168.1.1
para 0.0.0.0
e ele parou de funcionar:
$ 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 :::* -
Por favor ajude. Obrigado.
Tags dns networking dnsmasq linux