In this project I showcase how the --add-host option for plain Docker or the extra_hosts: dictionary for docker compose can be leverage to quickly spin up a lightweight DNS server for development purposes. A lightweight (less than 10MB) Alpine Linux image spins up a dnsmasq server that will answer DNS requests.