[Dnsmasq-discuss] I cannot receive any dns answers from Dnsmasq

Stéphane Guedon stephane at 22decembre.eu
Thu Jan 19 12:49:08 GMT 2017


The title says it all. When I make a dig query to dnsmasq, on localhost
or not, ipv4 or v6, Dnsmasq receives the request, treat it, but I don't
receive the answer.

Request :

stephane at mirror:/home/stephane dig @127.0.0.1 www.facebook.com

; <<>> DiG 9.4.2-P2 <<>> @127.0.0.1 www.facebook.com
; (1 server found)
;; global options:  printcmd
;; connection timed out; no servers could be reached
stephane at mirror:/home/stephane

verbose dnsmasq :

stephane at mirror:/home/stephane doas dnsmasq -d -R
dnsmasq: started, version 2.76 cachesize 150
dnsmasq: compile time options: IPv6 GNU-getopt no-DBus no-i18n no-IDN
DHCP DHCPv6 no-Lua TFTP no-conntrack ipset auth no-DNSSEC loop-detect
no-inotify
dnsmasq-dhcp: DHCP, IP range 10.0.0.20 -- 10.0.255.250, lease time 12h
dnsmasq-dhcp: DHCPv6 stateless on re2
dnsmasq-dhcp: DHCPv4-derived IPv6 names on re2
dnsmasq-dhcp: router advertisement on re2
dnsmasq-dhcp: DHCPv6 stateless on fd00:2016:22:dec::, constructed for re2
dnsmasq-dhcp: DHCPv4-derived IPv6 names on fd00:2016:22:dec::,
constructed for re2
dnsmasq-dhcp: router advertisement on fd00:2016:22:dec::, constructed
for re2
dnsmasq-dhcp: DHCPv6 stateless on 2a06:4000:1576::, constructed for re2
dnsmasq-dhcp: DHCPv4-derived IPv6 names on 2a06:4000:1576::, constructed
for re2
dnsmasq-dhcp: router advertisement on 2a06:4000:1576::, constructed for re2
dnsmasq-dhcp: RTR-ADVERT(re2) fd00:2016:22:dec::
dnsmasq-dhcp: RTR-ADVERT(re2) 2a06:4000:1576::
dnsmasq-dhcp: IPv6 router advertisement enabled
...
dnsmasq: 1 fd00:2016:22:dec::3/26860 /etc/hosts 2a06:4000:1576:: is
mirror.22decembre.eu
dnsmasq: 2 2a06:4000:1576::2/46016 query[AAAA]
u38868.mec086b732EDa.sOS.aTLas.RIPE.NEt.22DecEmbre.eU from 2a06:4000:1576::2
dnsmasq: 2 2a06:4000:1576::2/46016 config
u38868.mec086b732EDa.sOS.aTLas.RIPE.NEt.22DecEmbre.eU is NXDOMAIN
dnsmasq: 3 2a06:4000:1576::2/60217 query[DNSKEY] 22dEceMbre.EU from
2a06:4000:1576::2
dnsmasq: 3 2a06:4000:1576::2/60217 config 22dEceMbre.EU is NXDOMAIN
dnsmasq: 4 127.0.0.1/32500 query[A] www.facebook.com from 127.0.0.1
dnsmasq: 4 127.0.0.1/32500 forwarded www.facebook.com to fd00:2016:22:dec::3
dnsmasq: 4 127.0.0.1/32500 reply www.facebook.com is <CNAME>
dnsmasq: 4 127.0.0.1/32500 reply star-mini.c10r.facebook.com is
157.240.11.35

This is dnsmasq version 2.76p0 on OpenBSD, but I doubt it is relevant
(yet, further conf' provided any moment).

When I start another dns daemon (unbound), I get the answers. I think it
is not firewall related.


Any idea ?

Thank you very much for any help.

-- 
The file signature.asc is not attached to be read by you. It's a digital
signature by GPG.
If you want to know why I use it, and why you should as well, you can
read my article there:
http://www.22decembre.eu/2015/03/21/introduction-en/



-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/attachments/20170119/e5438e7e/attachment.sig>


More information about the Dnsmasq-discuss mailing list