Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/larsks/dnsthing
https://github.com/larsks/dnsthing
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/larsks/dnsthing
- Owner: larsks
- Created: 2016-03-29T03:33:34.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-04-03T19:06:49.000Z (over 6 years ago)
- Last Synced: 2024-08-02T12:47:23.727Z (4 months ago)
- Language: Python
- Size: 3.91 KB
- Stars: 26
- Watchers: 5
- Forks: 12
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-starred - larsks/dnsthing - (others)
README
dnsthing listens to the docker events stream and maintains a hosts
file in response to containers starting and stopping. The hosts file
can be consumed by `dnsmasq` for your very own dynamic docker dns
environment.## Requirements
This probably requires Docker 1.10 or later.
## Synopsis
usage: dnsthing [-h] [--verbose] [--debug] [--domain DOMAIN]
[--hostsfile HOSTSFILE] [--update-command UPDATE_COMMAND]## Options
- `--verbose`
- `--debug`
- `--domain DOMAIN`, `-d DOMAIN`
- `--hostsfile HOSTSFILE`, `-H HOSTSFILE`
- `--update-command UPDATE_COMMAND`, `-c UPDATE_COMMAND`