mdnsd-resolve-hack: allow programs to resolve mdnsd-discovered hosts this script works using mdnsctl to compile a list of mdns-using hosts and then changes them to hosts file format, and writes them to the $hosts_file specified, which by default is /etc/hosts.
mdnsd-resolve-hack: allow programs to resolve mdnsd-discovered hosts
this script works using mdnsctl to compile a list of mdns-using hosts
and then changes them to hosts file format, and writes them to the
$hosts_file specified, which by default is /etc/hosts.

to use it, it must run as root, and you need to be running openmdnsd,
which is an OpenBSD/Bitrig exclusive daemon.

it essentially provides a daemon to do the same as avahi's
nss host resolving hooks do on glibc-using linux systems.

Somasis/scripts