This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
docs:blox:blox-wifi-setup [2024/08/27 12:32] admin |
docs:blox:blox-wifi-setup [2024/08/27 13:14] (current) admin |
||
|---|---|---|---|
| Line 19: | Line 19: | ||
| ===== 6.6.1.2 mDNS Hostname ===== | ===== 6.6.1.2 mDNS Hostname ===== | ||
| + | |||
| + | MDNS (Multicast DNS) allows devices on the same local network to discover each other using domain-name-like names without a centralized DNS server. In BLOX projects, setting an mDNS hostname lets you access the device using a human-readable name (e.g., blox.local or frontdoorlock.local) instead of its IP address. | ||
| + | |||
| + | Add the "Setup mDNS" block to your BLOX initialization to set up a hostname | ||
| + | |||
| + | Make sure every device has a unique name, making it easy to remember will be beneficial | ||
| + | |||
| + | {{: | ||
| + | |||
| + | When the BLOX boots up you'll see it sets a mDNS Responder to respond to mDNS requests | ||
| + | |||
| + | {{: | ||
| + | |||
| + | And then you can find your BLOX device on the network (by pinging for example) by name (without needing to know its IP): | ||
| + | |||
| + | {{: | ||
| + | |||
| + | |||
| + | |||
| + | |||
| + | |||