I have setup pi-hole and unbound on a Debian VM and configured according to the guide available on the pi-hole website. Everything is running fine but I am curious about the double entries in the log.
I have setup two customer DNS for IPv4 and IPv6 for unbound forward:
Custom DNS 1: 127.0.0.1#5353
Custom DNS 3: ::1#5353
For nearly every query I get an A and an AAA entry in the log, e.g.:
15:22:07 dnsmasq: query[AAAA] fonts.gstatic.com from 192.168.1.23
15:22:07 dnsmasq: query[A] fonts.gstatic.com from 192.168.1.23
So from this it looks like for every request is send to the IPv4 and IPv6 DNS servers.
This is probably expected behaviour as you can’t tell from the hostname.
Just wanted to make sure I don’t have misconfigured something. Thanks!