Well, check my post in pihole 6 replies to its own hostname with 0.0.0.0
My issue is/was that pihole just responds with 0.0.0.0/::1 to requests to its own hostname when running in docker at least. FTLCONF_dns_reply_host_IPv4
looks like it's what I need, thanks.