Docker DNS support custom entry, backend by rubydns
280
rubydns is a Docker DNS Image that support custom entry.
docker run -d -p 53 -p 53/udp rubydns will use 8.8.8.8 as dns provider
docker run \
-p 53:53 \
-p 53:53/udp \
--volume $PWD/conf:/etc/rubydns \
--env HOSTS=/etc/rubydns/hosts \
--detach \
coder4/rubydns
A file named 'hosts' should be placed under host's conf dictionary, with contents
host1 1.1.1.1
host2 2.2.2.2
docker run \
-p 53:53 \
-p 53:53/udp \
--volume $PWD/conf:/etc/rubydns \
--env HOSTS=/etc/rubydns/hosts \
--env REST_URL=http://192.168.99.100/container/list \
--env IP_PREFIX=10. \
--detach \
coder4/rubydns
See docker swarm dict as rest url
Content type
Image
Digest
Size
80.1 MB
Last updated
almost 9 years ago
docker pull coder4/rubydns:1.2