O mesmo problema aqui. Resolvido desativando o ipv6.
Ubuntu Server 16.04.04
dnsmasq.conf:
listen-address = 192.168.5.5, 172.30.108.1, 127.0.0.1
log-queries
resolv-file = /etc/resolv.dnsmasq
/etc/resolv.dnsmasq:
nameserver = 8.8.8.8
/etc/resolv.conf:
# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
# DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
nameserver 127.0.0.1
ps aux | grep dns
dnsmasq 13099 0.0 0.0 52864 400 ? S 17:16 0:00 /usr/sbin/dnsmasq -x /var/run/dnsmasq/dnsmasq.pid -u dnsmasq -7 /etc/dnsmasq.d,.dpkg-dist,.dpkg-old,.dpkg-new --local-service --trust-anchor=.,19036,8,2,49AAC11D7B6F6446702E54A1607371607A1A41855200FD2CE1CDDE32F24E8FB5
O Firewall local está desativado:
sudo ufw status
Status: inactive
digita cisco.com
; <<>> DiG 9.10.3-P4-Ubuntu <<>> cisco.com
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: REFUSED, id: 51709
;; flags: qr rd ra ad; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION:
;cisco.com. IN A
;; Query time: 0 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Sun Apr 15 17:26:05 CEST 2018
;; MSG SIZE rcvd: 27
para esta entrada correspondente dig no syslog:
dnsmasq[13099]: query[A] cisco.com from 127.0.0.1
Eu só não entendo porque eu sempre recebo um RECUSADO.
obrigado
O mesmo problema aqui. Resolvido desativando o ipv6.