/docker-coredns

Docker image to run Coredns

Primary LanguageDockerfileMIT LicenseMIT

Docker coredns

Docker Automated build Build Status Container Ready

Docker image to run CoreDNS

Example command to run CoreDNS in a container, adding the example config from the repo. This sets up CoreDNS as a proxy, for sending DNS request to Google using HTTPS

docker run -m 100m --expose=53 --expose=53/udp -p 53:53 -p 53:53/udp -v "$PWD"/config:/etc/coredns --restart=on-failure --name coredns yorickps/coredns

To run CoreDNS as an authorative DNS server for a zone, add the appropriate zone file in the config directory and adjust the Corefile.

For more CoreDNS info, check the Quick Start guide