cdddns

Version, currently main branch1 version
  • main branchlatestApr 5, 2026

github.com/xendk/cdddns.cr

No description declared in shard.yml.

0 stars
0 dependents
License: MIT

Installation

# Add this to your shard.yml
dependencies:
  cdddns:
    github: xendk/cdddns.cr
    branch: main

main is a branch, not a release, so this tracks it rather than pinning a version.

Then run:

shards install

shard.yml

Crystal
>= 1.19.1
License
MIT
Author
Thomas Fini Hansen
Target
  • cdddns from src/cdddns.cr

Dependencies

Runtime Dependencies

  • docr*github: marghidanu/docr

README

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).

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