MDNSD(8)

NAME
mdnsd - small multicast DNS daemon

SYNOPSIS
mdnsd [-hnsv] [-H NAME] [-i IFACE] [-l LEVEL] [-t TTL] [PATH]

DESCRIPTION
mdnsd is a small mDNS-SD daemon for UNIX like systems. It is based on an original implementation made by Jeremie Miller in 2003. Multicast DNS is an open standard defined in RFC6762, with service discovery (-SD) in RFC6763, commonly known to end-users as Bonjour or Avahi, depending on the operating system.

mdnsd reads service definitions of services to announce from /etc/mdns.d/*.service, a different path may be given on the command line, which can be a directory or a single service file.

mdnsd by default runs on all multicast capable interfaces on a system, over both IPv4 and IPv6. Use -i IFACE to only run on a single interface.

mdnsd advertises and answers for the local host and its services; it does not make the system resolver mDNS-aware. To resolve .local names on the host, install libnss-mdns and add it to nsswitch.conf(5).

OPTIONS
This program follows the usual UNIX command line syntax. The options are as follows:

-H NAME
    Hostname to advertise, default: the system hostname.

-h  Print a help message and exit.

-i IFACE
    Interface to announce services on. By default mdnsd runs on all interfaces.

    Only available on Linux.

-l LEVEL
    Set log level: none, err, notice (default), info, debug.

-n  Run in foreground, do not detach from controlling terminal.

-s  Use syslog even if running in foreground.

-t TTL
    Set TTL of mDNS packets, default: 1 (link-local only).

-v  Show program version, along with the project homepage and the address for bug reports.

FILES
/etc/mdns.d/*.service
    mDNS-SD services to announce.

SEE ALSO
mquery(1), mdnsd.service(5), mdns-scan(1), nsswitch.conf(5)

AUTHORS
This mDNS-SD implementation was created in 2003 by Jeremie Miller <jer@jabber.org>. Much later, in 2016, it was adopted by Joachim Wiberg <troglobit@gmail.com> for further development and maintenance at GitHub: <https://github.com/troglobit/mdnsd>.