This is very odd behaviour and I'm wondering if ipv6 tickle's this bug? OSX Ventura apparently does not help things. I've turned off DNSSec on pihole, leaving unbound to do the heavy lifting... so that's not the issue.
I'm going to upgrade, but I wanted to file the bug as this didn't immediately jump out on google as a known bug. Hopefully we can pin this down and help others.
Update: confirmed issue still present on *latest ..
Please follow the below template, it will help us to help you
This is on:
- Docker Tag 2023.01.8 · Update available!
- Pi-hole v5.15.1
- FTL v5.20.1
- Web Interface v5.18.2
Expected Behaviour
Pihole will query unbound, which returns the correct data for the A-record
Actual Behaviour
Pihole returns NODATA-IPV4
Debug Token
Aug 12 21:03:27 dnsmasq[240]: query[A] nodered.myhouse.privatedomain.com from 192.168.1.23
Aug 12 21:03:27 dnsmasq[240]: forwarded nodered.myhouse.privatedomain.com to 192.168.1.112#5335
Aug 12 21:03:27 dnsmasq[240]: reply nodered.myhouse.privatedomain.com is <CNAME>
Aug 12 21:03:27 dnsmasq[240]: reply cnamed.myhouse.privatedomain.com is NODATA-IPv4
Aug 12 21:03:31 dnsmasq[240]: query[A] cnamed.myhouse.privatedomain.com from 0001:0000:0000:4a00:8d65:869b:55ca:0001
Aug 12 21:03:31 dnsmasq[240]: cached terraDelta.myhouse.privatedomain.com is NODATA-IPv4
root@cnamed2:~# cat /etc/unbound/unbound.conf.d/localzone-myhouse.privatedomain.com.conf
server:
###########################################################################
# LOCAL ZONE
###########################################################################
local-zone: "myhouse.privatedomain.com." transparent
### <<< snip >>>
local-data: "cnamed.myhouse.privatedomain.com. IN A 192.168.1104"
local-data-ptr: "192.168.100.104 cnamed.myhouse.privatedomain.com."
local-data: "canmed.myhouse.privatedomain.com. TXT 'Cheese' "
local-data: "nodered.myhouse.privatedomain.com. CNAME cnamed.myhouse.privatedomain.com."