I've re-read your OP several times to try to avoid a pointless contribution... (an opening comment like that almost guarantees one), but I'm pretty sure I'm achieving what you want to do only with unbound with a very similar setup.
I catch all local requests to my *.mxxxxxxx.org domain which are directed to a caddy reverse proxy container with a lan ip address.
We have some public code demo sites such as dev1, dev2 at dev1.mxxxxxx.org with public IP addresses. In Unbound overrides:
Host: * Domain: mxxxxxxx.org Value: 192.x.x.x Descrip: Caddy Reverse Proxy
Host: * Domain: dev1.mxxxxxx.org Value: 20.x.x.x Descrip: Public webserver IP address
Does this not work for you?
I catch all local requests to my *.mxxxxxxx.org domain which are directed to a caddy reverse proxy container with a lan ip address.
We have some public code demo sites such as dev1, dev2 at dev1.mxxxxxx.org with public IP addresses. In Unbound overrides:
Host: * Domain: mxxxxxxx.org Value: 192.x.x.x Descrip: Caddy Reverse Proxy
Host: * Domain: dev1.mxxxxxx.org Value: 20.x.x.x Descrip: Public webserver IP address
Does this not work for you?