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

  1. Fork it (https://github.com/xendk/cdddns/fork)
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

Contributors

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