I have a similar problem I’m trying to solve. But instead of .local it’s rather that I have a domain name for which I host servers inside my local network. For example server1.exampledomain.com has A records in the public name servers pointing to my public IP. I use my router to port forward the requests to my internal servers. Is there a way I can configure pi-hole to resolve these fully qualified public domains to internal IP addresses? I’m running pi-hole in a docker so I can’t just edit the /etc/hosts file. In the docker appdata folder I found local.list but having tried that here What is best practice for static setting of domains hosts file style in docker? I found that didn’t work.
Is there some way I can persistently configure local addresses for FQDs that will survive docker updates?