Issue
I have a resolver entry setup to resolve all *.docker requests to a dnsmasq instance (I’m using dinghy-http-proxy, but this applies to anything else using /etc/resolver configs).
I can resolve *.docker correctly on the Mac, but inside of containers I get an unknown host exception.
Expected Behavior
I can resolve custom entries in /etc/resolver inside of the containers.
scutil --dns
DNS configuration
resolver #1
search domain[0] : <domain>
search domain[1] : <domain>
search domain[2] : <domain>
search domain[3] : <domain>
nameserver[0] : <internal ip>
nameserver[1] : <internal ip>
if_index : 11 (en4)
flags : Request A records
Reachable
resolver #2
domain : local
options : mdns
timeout : 5
flags : Request A records
Not Reachable
order : 300000
resolver #3
domain : 254.169.in-addr.arpa
options : mdns
timeout : 5
flags : Request A records
Not Reachable
order : 300200
resolver #4
domain : 8.e.f.ip6.arpa
options : mdns
timeout : 5
flags : Request A records
Not Reachable
order : 300400
resolver #5
domain : 9.e.f.ip6.arpa
options : mdns
timeout : 5
flags : Request A records
Not Reachable
order : 300600
resolver #6
domain : a.e.f.ip6.arpa
options : mdns
timeout : 5
flags : Request A records
Not Reachable
order : 300800
resolver #7
domain : b.e.f.ip6.arpa
options : mdns
timeout : 5
flags : Request A records
Not Reachable
order : 301000
resolver #8
domain : docker
nameserver[0] : 127.0.0.1
port : 19322
flags : Request A records, Request AAAA records
Reachable, Local Address, Directly Reachable Address
DNS configuration (for scoped queries)
resolver #1
search domain[0] : <domain>
search domain[1] : <domain>
search domain[2] : <domain>
search domain[3] : <domain>
nameserver[0] : <internal ip>
nameserver[1] : <internal ip>
if_index : 11 (en4)
flags : Scoped, Request A records
Reachable