Skip to content

spops/docker-dnsmasq

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

docker-dnsmasq

A docerized dnsmasq. The automated build repo: https://registry.hub.docker.com/u/spops/dnsmasq/

How to use?

  • Clone the code.
git clone https://github.com/spops/docker-dnsmasq.git
  • Edit your dns record, It is a hosts form.
vi banner_add_hosts
  • Build and Run.
docker build -t spops/docker-dnsmasq:0.0.1 .
docker run -d -p 53:53 -p 53:53/udp spops/docker-dnsmasq:0.0.1
  • Or using Docker Hub.
docker run -d -p 53:53 -p 53:53/udp spops/dnsmasq
  • Using another container to change the DNS records and reload the process.
docker run -it --volumes-from="your dnsmasq container id" ubuntu:14.04 /bin/bash
docker kill --signal="HUP" "your dnsmasq container id"

About

A docerized dnsmasq

Resources

License

Stars

Watchers

Forks

Packages

No packages published