Public | Automated Build

Last pushed: 3 years ago
Short Description
Short description is empty for this repo.
Full Description

Docker DNS update service


If running with selinux(recommended).
Please install the policy for allowing socket communication in the docker image.

This creates a rule for allowing access to docker.sock from container.
Run this command on host machine.
semodule -i docker_dns.pp

Running dns service

DNS master, running dnsmasq

docker run -d -p <HOST_IP>:53:53/udp -p <HOST_IP>:538:538/tcp --name dns_master varunmittal91/docker-dns

DNS Slave

docker run -d -v /var/run/docker.sock:/var/run/docker.sock --name dns_slave varunmittal91/docker-dns --master <MASTER HOST_IP>:538 --docker_api <LOCAL DOCKER API>
On host machine 53/udp has to be enabled

Docker Pull Command
Source Repository