25
[Question] What are your computers named?
(lemmy.ml)
A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.
Beginning of January 1st 2024 this rule WILL be enforced. Posts that are not tagged will be warned and if not fixed within 24h then removed!
If you mean initiating connections from one computer on your local network to another, you need to install and enable
avahi-daemon
(or some other mDNS daemon) on the "fancy" one. Your router also needs to support and enable mDNS forwarding, but basically all of them do by default. Then just use your-hostname.local in place of the local IP address, and your computer will automatically resolve it using mDNS. It's different than regular DNS, so it doesn't need any special configuration to use it. And word to the wise: don't use uppercase or special characters in your hostname.