{"id":16164283,"url":"https://github.com/troglobit/mdns-alias","last_synced_at":"2025-08-22T16:32:27.474Z","repository":{"id":233257181,"uuid":"786100954","full_name":"troglobit/mdns-alias","owner":"troglobit","description":"mDNS-SD CNAME Publisher in C","archived":false,"fork":false,"pushed_at":"2024-04-14T10:54:55.000Z","size":22,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-11-22T01:01:59.713Z","etag":null,"topics":["avahi","avahi-aliases","cname","cname-record","mdns","mdns-sd"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"isc","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/troglobit.png","metadata":{"files":{"readme":"README.md","changelog":"ChangeLog.md","contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":["troglobit"]}},"created_at":"2024-04-13T12:36:26.000Z","updated_at":"2024-10-15T17:12:54.000Z","dependencies_parsed_at":null,"dependency_job_id":"5161a122-2403-4b11-894f-0cbb064a234e","html_url":"https://github.com/troglobit/mdns-alias","commit_stats":null,"previous_names":["troglobit/mdns-alias"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/troglobit%2Fmdns-alias","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/troglobit%2Fmdns-alias/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/troglobit%2Fmdns-alias/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/troglobit%2Fmdns-alias/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/troglobit","download_url":"https://codeload.github.com/troglobit/mdns-alias/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":230619169,"owners_count":18254522,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["avahi","avahi-aliases","cname","cname-record","mdns","mdns-sd"],"created_at":"2024-10-10T02:46:04.144Z","updated_at":"2024-12-20T16:48:16.640Z","avatar_url":"https://github.com/troglobit.png","language":"C","funding_links":["https://github.com/sponsors/troglobit"],"categories":[],"sub_categories":[],"readme":"Publish mDNS-SD Aliases\n===================================\n[![][3]][4] [![][5]][6] [![][7]][8]\n\nThis is a small C program that publishes mDNS CNAMEs using Avahi.  It\nruns as a UNIX daemon, ensuring the CNAME records are published as long\nas the daemon runs.\n\nCurrently the program takes its CNAME aliases on the command line:\n\n    mdns-alias foo.local bar.local\n\nAt least one name, including `.local`, must be given on the command line.\n\n\nDependencies\n------------\n\nAt run time: a running `avahi-daemon`\n\nBuild time: avahi client library and header files, and to detect it, the\n`pkg-config` tool.  You also need a C compiler and `make`.\n\nUbuntu, Mint, or other Debian based Linux distributions:\n\n    sudo apt install libavahi-client-dev pkg-config\n\n\nBuilding\n--------\n\nThis project is built using `configure` and `make`.  The configure\nscript generates the `Makefile` for your host system, or your embedded\n[target system][2].  Usually setting `--host=toolchain-prefix-` is all\nyou need for the `configure` script to find your cross compiler.\n\n    ./configure\n    make\n\nBy default the configure script prepares for installing in `/usr/local`,\nif you want to change that, please see `./configure --help`.  To install\ntype:\n\n    sudo make install\n\nSome systems no longer have `sudo`, alternatives include `su` to root,\nor tools like `doas`.\n\n\u003e **Note:** if you do not like pre-packaged, and properly versioned,\n\u003e release tarballs, you need to have GNU autoconf and automake installed\n\u003e to be able run the `autogen.sh` script.  It creates the `configure`\n\u003e script and Makefile template, which are included in the portable\n\u003e release tarballs.\n\n\nMotivation\n----------\n\nFor some reason the de facto standard mDNS-SD daemon in Linux, Avahi,\ndoes not support CNAME (DNS alias) records in the configuration files\nor using any of its tools.  This has been covered in many repos, but\nnone did it better than [George Hawkins][1], I believe.\n\n[1]: https://github.com/george-hawkins/avahi-aliases-notes\n[2]: https://www.gnu.org/software/automake/manual/html_node/Cross_002dCompilation.html\n[3]: https://img.shields.io/badge/License-ISC-blue.svg\n[4]: https://en.wikipedia.org/wiki/ISC_license\n[5]: https://github.com/troglobit/mdns-alias/actions/workflows/build.yml/badge.svg\n[6]: https://github.com/troglobit/mdns-alias/actions/workflows/build.yml/\n[7]: https://scan.coverity.com/projects/30083/badge.svg\n[8]: https://scan.coverity.com/projects/30083\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftroglobit%2Fmdns-alias","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftroglobit%2Fmdns-alias","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftroglobit%2Fmdns-alias/lists"}