https://orbstack.dev logo
DNS requests never reach dnsmasq
# support
z
I am running macOS Sequoia, and OrbStack 1.11.2. I have a dockerized web application that needs to be accessed by local browsers, AND iOS/Android emulator/real devices. So far I was using the
/etc/hosts
file which work fine for browsers but not for emulators. I tried to configure a CoreDNS and now a dnsmasq server (locally and in a container) but anytime I tried to resolve my local domain name (one-loc.myapp.com) it fail at reaching the server. I guess the OrbStack internal DNS server is getting the DNS requests? So how can I get this DNS server working aside or inside OrbStack so that
ping
or
dig
to my one-loc.myapp.com is resolved to my computer's IP address?
Stopping OrbStack, installing dnsmasq locally on port 53 doesn't work, but on port 8353 does. So there's nothing to do with OrbStack apparently.