Skip to content

q2pus/docker-tinydns

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

docker-tinydns

TinyDNS container provide:

  • Simple fault tolerance
  • Primitive geolocation/balancing

It is assumed for docker stack deployment and autobuild by drone

Thanks to @etix for idea.

Example of data.tmpl:

.example.com:::300
+dynamic.example.com:{ADDRESS}:300
+static.example.com:1.2.3.4:300

Manual build, publish to gray registry and deploy as swarm service:

docker build --no-cache -t 127.0.0.1:5000/tinydns ./
docker push 127.0.0.1:5000/tinydns
docker service create \
  --mode global \
  --publish mode=host,target=53,published=53,protocol=tcp \
  --publish mode=host,target=53,published=53,protocol=udp \
  --with-registry-auth --name tinydns 127.0.0.1:5000/tinydns

About

Highly available primitive DNS container

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages