dnsmasq in a docker container
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Dockerfile
README.md
entrypoint.sh

README.md

dns

This is the dns server.

Running it

docker run -d -p 53:53 \
    -e CONFIG_REPO=bitbucket.org/hpchud/dns-config.git \
    -e CONFIG_USER=hpchud
    -e CONFIG_PASS=<api key> \
    hpchud/dns

Configuring

The data that is used to populate the dns server must be in another repository and passed to the container through environment variable CONFIG_REPO.

On startup, this repository will be cloned using CONFIG_USER and CONFIG_PASS as the credentials. Whilst this image can be public, you don't want the configuration to be.

Look at the hpchud/dns-config-template repository as an example.