Dory's dnsmasq container
Find source code here: https://github.com/FreedomBen/dory-dnsmasq
What is this?
Dory uses this container to provide the dnsmasq
services in conjunction with an nginx-proxy. It's a very lightweight container built
on Alpine Linux (based off of andyshinn/dnsmasq.
See the dory project page for more info.
How do I use it?
You can use this container in your project, or as a standalone utility if you'd like.
Here's how to fire it up.
docker run freedomben/dory-dnsmasq:1.0.0 [<domain>] [<ip>]
So if you wanted all queries against domain "docker" to be routed to IP 126.96.36.199:
docker run freedomben/dory-dnsmasq:1.0.0 docker 188.8.131.52
If you'd rather extend it to bake in your defaults, here's an example:
FROM freedomben/dory-dnsmasq CMD["docker", "184.108.40.206"]