Skip to content

Instantly share code, notes, and snippets.

@NAR8789
NAR8789 / dnsmasq.conf
Last active September 12, 2023 10:07
wildcard dns for docker-compose using dnsmasq
# explicitly define host-ip mappings
address=/myapp.local/172.16.1.2
# dnsmasq entries are always wildcard entries, so this maps both myapp.local and *.myapp.local
# (yes, it's fine for this to be your entire dnsmasq config. the defaults are pretty sensible)