1

The Mac machines within a local network is visible automatically to the other Macs. They're visible on Finder and can be accessed with their names via console. As I know this is multicast-local-DNS.

I want to make my FreeBSD machine is visible from my Mac. I just want to connect to there with it's hostname for SSH. Is there a simple solution for this? I tried hosts file, but it was not a good idea because the host address are configured by DHCP so not guaranteed.

2 Answers 2

4

I installed mDNSResponder package.

pkg_add -r mDNSResponder

And added this line on /etc/rc.conf to activate it as daemon.

mdnsd_enable="YES"

This is smallest & simplest solution.

3

You can install avahi(/usr/ports/net/avahi).

Avahi is a free zeroconf implementation, including a system for multicast DNS/DNS-SD service discovery. It is licensed under the GNU Lesser General Public License (LGPL).

2
  • Avahi is included in OpenBSD's Gnome desktop packages, so it must be good :-)
    – DutchUncle
    Mar 2, 2011 at 1:46
  • 1
    Avahi works good, but it's definitely stand for GUI desktop. So it has too heavy dependencies for me :(
    – Eonil
    Mar 2, 2011 at 2:11

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .