Avahi

avahi is Article description::a zeroconf service discovery and publishing program. A common use for it is to be able to connect to machines via  within your LAN.

systemd
Enable the server to start whenever thinks it is appropriate:

If you want to use it right away, also start the service:

OpenRC
Be sure to add the service to the default runlevel for the server daemon to start on system boot. Do so with the command:

Start the service (without restarting) with the command:

Client Files
Add the appropriate mdns into the hosts line in, An example line looks like:

Once this is installed it should be possible to ping the hostname of the machine appending. For example:

Troubleshooting
Commands like and  do not use, so they can't be used for Avahi diagnostic. Use instead.

For example:

Output when in :