A simple Docker container to run a DNS server . Original of this document is here
Brief description:
named.conf and all zone files are in the same directory /var/bind to simplify volume mappingnamed 100:101 is used to run the serviceAllocate a volume for the configuration file named.conf and all other zone files and keys (ZSK, KSK, etc) if any.
Copy the included test named.conf to that volume.
Get the image (optional): docker pull etaylashev/dns
Run
docker run -d \
--name dnsforward \
-p 5353:53/udp \
-e VERBOSE=1 \
-v /conf/dns/dns_master:/var/bind \
etaylashev/dns
entrypoint.shCheck logs: docker logs dnsforward
Test functionality: dig -p 5353 -4 @localhost google.com
Content type
Image
Digest
sha256:ae04593b1…
Size
10.9 MB
Last updated
almost 3 years ago
docker pull etaylashev/dns