https://github.com/fedejaure/mdns-beacon
Multicast DNS (mDNS) Beacon to announce multiple CNAME aliases across your local network.
https://github.com/fedejaure/mdns-beacon
avahi beacon bonjour mdns python zeroconf
Last synced: 5 months ago
JSON representation
Multicast DNS (mDNS) Beacon to announce multiple CNAME aliases across your local network.
- Host: GitHub
- URL: https://github.com/fedejaure/mdns-beacon
- Owner: fedejaure
- License: mit
- Created: 2020-10-05T21:57:19.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2025-12-18T19:44:02.000Z (5 months ago)
- Last Synced: 2025-12-20T08:42:42.304Z (5 months ago)
- Topics: avahi, beacon, bonjour, mdns, python, zeroconf
- Language: Python
- Homepage: https://mdns-beacon.readthedocs.io/
- Size: 1.66 MB
- Stars: 19
- Watchers: 1
- Forks: 5
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE.rst
- Code of conduct: CODE_OF_CONDUCT.md
- Security: SECURITY.md
Awesome Lists containing this project
README
# mDNS Beacon
[](https://pypi.python.org/pypi/mdns-beacon)
[](https://pypi.python.org/pypi/mdns-beacon)
[](https://github.com/fedejaure/mdns-beacon/actions/workflows/tests.yml)
[](https://codecov.io/gh/fedejaure/mdns-beacon)
[](https://mdns-beacon.readthedocs.io/)
[](https://pypi.python.org/pypi/mdns-beacon)
[](https://github.com/psf/black)
[](https://github.com/pre-commit/pre-commit)
[](https://www.contributor-covenant.org/version/2/0/code_of_conduct/)
Multicast DNS (mDNS) Beacon to announce multiple CNAME aliases across your local network. Under development. Use by your own risk❗
* GitHub repo:
* Documentation:
* Free software: MIT
## Features
* ✅ Announce multiple aliases on the local network.
* ✅ Listening utility to discover services during development.
* ❌ Configuration file.
* ❌ Windows support.
## Quickstart
Install `mdns-beacon` from the [Python Package Index][pypi]:
```
$ pip install mdns-beacon
```
#### Usage
```
$ mdns-beacon --help
Usage: mdns-beacon [OPTIONS] COMMAND [ARGS]...
Simple multicast DNS (mDNS) command line interface utility.
Options:
--version Show the version and exit.
--help Show this message and exit.
Commands:
blink Announce aliases on the local network.
listen Listen for services on the local network.
```
Announce an example service:
```
$ mdns-beacon blink example --alias sub1.example --address 127.0.0.1 --type http --protocol tcp
⠋ Announcing services (Press CTRL+C to quit) ...
```
Listen to a specific service type:
```
$ mdns-beacon listen --service _http._tcp.local.
🚨📡 mDNS Beacon Listener 📡🚨
┏━━━┳━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━┳━━━━━━┳━━━━━━━━━━━━━━━━━━━━━┳━━━━━┓
┃ # ┃ Type ┃ Name ┃ Address IPv4 ┃ Port ┃ Server ┃ TTL ┃
┡━━━╇━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━╇━━━━━━╇━━━━━━━━━━━━━━━━━━━━━╇━━━━━┩
│ 0 │ _http._tcp.local. │ example._http._tcp.local. │ 127.0.0.1 │ 80 │ example.local. │ 120 │
│ 1 │ _http._tcp.local. │ sub1.example._http._tcp.local. │ 127.0.0.1 │ 80 │ sub1.example.local. │ 120 │
└───┴───────────────────┴────────────────────────────────┴──────────────┴──────┴─────────────────────┴─────┘
⠧ Listen for services (Press CTRL+C to quit) ...
```
## Credits
This package was created with [Cookiecutter][cookiecutter] and the [fedejaure/cookiecutter-modern-pypackage][cookiecutter-modern-pypackage] project template.
[cookiecutter]: https://github.com/cookiecutter/cookiecutter
[cookiecutter-modern-pypackage]: https://github.com/fedejaure/cookiecutter-modern-pypackage
[pypi]: https://pypi.org/