Skip to content

How to run Dnsmasq in container on MacOS #24099

Answered by Luap99
gaufde asked this question in Q&A
Discussion options

You must be logged in to vote

This is complicated, first as you already noticed systemd-resolved is running and needs to be disabled. (I think we may want to do this by default in podman machine)

The second issue is aardvark-dns using port 53 as well for the bridge interface. And while binding a specific host ip works around that on linux it will not work with podman machine. This is because in side the VM the host ip doesn't exists and cannot be used as all the traffic is proxied via gvproxy into the main interface of the VM. So in order to make port forwarding work from the VM into the container we discard the host ip and thus bind all inside the VM (295d87b)

Now in order to work around that you need to configure aa…

Replies: 2 comments 6 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
6 replies
@Luap99
Comment options

@gaufde
Comment options

@gaufde
Comment options

@Luap99
Comment options

@gaufde
Comment options

Answer selected by gaufde
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants