Multicast DNS (mDNS) Beacon to announce multiple CNAME aliases across your local network.
Project description
mDNS Beacon
Multicast DNS (mDNS) Beacon to announce multiple CNAME aliases across your local network. Under development. Use by your own risk❗
- GitHub repo: https://github.com/fedejaure/mdns-beacon.git
- Documentation: https://mdns-beacon.readthedocs.io
- 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:
$ 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 and the fedejaure/cookiecutter-modern-pypackage project template.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
mdns-beacon-0.4.1.tar.gz
(11.2 kB
view hashes)
Built Distribution
Close
Hashes for mdns_beacon-0.4.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2b47074f1440b99fe4e39c82626ecfe10eaa595979b15282516f7324c599229d |
|
MD5 | 97cc75a95f1cbb88aaf8c6e46546503c |
|
BLAKE2b-256 | 55d2576fad88f9fb916e34c0f33fbdd6c8b2ae00a54735682845c6909281bd47 |