Docker image of CoreDNS to use on a Raspberry PI.
Exposes Ports :
9053
for DNS8080
for health
Exported volumes : /etc/coredns
and /var/log/coredns
.
Configure binfmt-support on the Docker host (works locally or remotely, i.e: using boot2docker):
$ docker run --rm --privileged multiarch/qemu-user-static:register --reset
Then you can run an armhf image from your x86_64 Docker host :
$ make run version=1.0
Or build :
$ make build version=1.0
There is a sample configuration file (Corefile) which forwards all queries to 8.8.8.8 and logs them to stdout.
-
Launch CoreDNS:
$ docker run --rm=true -p 8053:53 -p 8053:53/udp -p 9153:9153 -v `pwd`:/etc/coredns zeiot/rpi-coredns:006
-
Then request the DNS:
$ dig @x.x.x.x -p 8053 www.google.com
-
You could see prometheus metrics on :
http://x.x.x.x:9153/metrics
.
See LICENSE for the complete license.
A ChangeLog.md is available.
Nicolas Lamirault nicolas.lamirault@gmail.com