Public | Automated Build

Last pushed: 8 months ago
Short Description
Dnsmasq as a container
Full Description

docker-dnsmasq

dnsmasq in a docker container, configurable via a simple web UI

Usage

  1. Create a data/dnsmasq.conf file on the Docker host

     #dnsmasq config, for a complete example, see:
     #  https://github.com/s3than/go-dnsmasq
     192.168.0.1 db1.db.local
     192.168.0.2 *.db.local
    
  2. Run the container

     $ docker run \
         --name dnsmasq \
         -d \
         -p 53:53/udp \
         -p 5380:5380 \
         -v data/dnsmasq.conf:/data/dnsmasq.conf \
         --log-opt "max-size=100m" \
         -e "USER=foo" \
         -e "PASS=bar" \
         s3than/dnsmasq
    
  3. Visit http://<docker-host>:5380, authenticate with foo/bar

Docker Pull Command
Owner
s3than
Source Repository