mdnsd
Multicast and Unicast DNS daemon
Syntax:
mdnsd
Runs on:
QNX Neutrino
Options:
- -d
- Run mdnsd as a foreground process and enable debug mode.
- -e
- Run in enterprise mode. For internal use only.
- -f
- Run mdnsd as a foreground process, instead of as a daemon.
- -logging
- Enable additional debug logging.
- -U uid[:gid]
- Set the user ID and group ID to run as.
Description:
The mdnsd daemon (also known as mDNSResponder on some systems) is a daemon that provides Multicast DNS and DNS Service Discovery.
The mdnsd daemon listens on UDP port 5353 for Multicast DNS Query packets. When it receives a query for which it knows an answer, mdnsd issues the appropriate Multicast DNS Reply packet.
It also performs Unicast and Multicast DNS Queries on behalf of client processes, and maintains a cache of the replies.
Logging
There are several methods that you can use to examine mdnsd's internal state for debugging and diagnostic purposes. The syslogd logging levels map as follows:
- Error: error messages
- Warning: client-initiated operations
- Notice: sleep proxy operations
- Info: informational messages
By default, only log level Error is logged.
A SIGUSR1 logs the current state information.
slay -s SIGUSR1 mdnsd
A SIGUSR2 signal toggles additional logging and packet logging:
slay -s SIGUSR2 mdnsd
For more information on:
- Multicast DNS, see http://www.multicastdns.org/.
- DNS Service Discovery, see http://www.dns-sd.org/.
- how to use the Multicast DNS and the DNS Service Discovery APIs on Mac OS X and other platforms, see http://developer.apple.com/bonjour/.
For the source code to mdnsd, see http://developer.apple.com/darwin/projects/bonjour/.
