Public | Automated Build

Last pushed: a year ago
Short Description
Basic DNS Service using dnsmasq. Can be configured via REST.
Full Description

docker_dns

docker_dns is a container to handle DNS entries and is internally based on dnsmasq.

docker pull mdreem/docker_dns

Startup

docker run -d --name dns -p 53:53/udp -p 5000:5000 mdreem/docker_dns

Here the container will be controlled via Port 5000 using a REST API.

Commands

Receive current list of DNS entries. These are not necessarily active, but will become active after calling control/write
GET /docker_dns/v1.0/domain_names

PUT /docker_dns/v1.0/domain_names/<domain-hostname>
ip = <ip-address>

Get IP-address of \<domain-name\>
GET /docker_dns/v1.0/domain_names/<domain_name>

Restarts dnsmasq
GET /docker_dns/v1.0/control/restart

Activates config for dnsmasq
GET /docker_dns/v1.0/control/write

Docker Pull Command
Owner
mdreem
Source Repository