cdddns.cr
CDDDNS
Crystal Docker Development Domain Name Service. A riff on LDDDNS.
Add domain names to Docker containers so they're easier to access from a browser (among other things).
The difference from LDDDNS is that CDDDNS just hacks /etc/hosts, rather than using multicast DNS.
Installation
shards build
Run ./bin/cdddns by hand.
Usage
sudo ./bin/cdddns
Listens to Docker events and adds container IPs to /etc/hosts. You can test it on another file with the -f switch (in which case sudo isn't needed).
Limitations
Currently only handles containers started while it's running.
Development
TODO: Write development instructions here
Contributing
- Fork it (https://github.com/xendk/cdddns/fork)
- Create your feature branch (
git checkout -b my-new-feature) - Commit your changes (
git commit -am 'Add some feature') - Push to the branch (
git push origin my-new-feature) - Create a new Pull Request
Contributors
- Thomas Fini Hansen - creator and maintainer
Repository
cdddns.cr
Owner
Statistic
- 0
- 0
- 0
- 0
- 1
- about 5 hours ago
- March 7, 2026
License
MIT License
Links
Synced at
Sat, 07 Mar 2026 19:01:58 GMT
Languages