Docker NSD
The Dockerized NSD authoritative-only DNS server. NSD (Name Server Daemon) is a high performance, low footprint authoritative-only DNS server that's an ideal alternative to packages such as Bind which carry additional complexity and overhead which isn't necessary where you don't need recursion or caching.
docker run --name ns1 \
--hostname ns1 \
--add-host "ns1.your.tld ns1":1.2.3.4 \
--restart always