Docker Hub
https://hub.docker.com/r/strm/dnsmasqDocker DNSMASQ Dnsmasq is a lightweight, easy to configure, DNS forwarder and DHCP server. It is designed to provide DNS and optionally, DHCP, to a small network. It can serve the names of local machines which are not in the global DNS.
How to Setup DNS Server with Docker Container
linoxide.com › setting-dns-server-dockerMar 17, 2021 · A Dockerfile is used to create a Docker container image, this will be used to create the DNS Server. An easy way to setup a basic DNS server with Docker is to use the BIND DNS server bundled with the Webmin interface. In this tutorial we cover how to implement DNS server using docker container. BIND is an open source software that implements the Domain Name System (DNS) protocols for the Internet.