1 .\" -*- tab-width: 4 -*-
3 .\" Copyright (c) 2003-2004 Apple Computer, Inc. All Rights Reserved.
5 .\" Licensed under the Apache License, Version 2.0 (the "License");
6 .\" you may not use this file except in compliance with the License.
7 .\" You may obtain a copy of the License at
9 .\" http://www.apache.org/licenses/LICENSE-2.0
11 .\" Unless required by applicable law or agreed to in writing, software
12 .\" distributed under the License is distributed on an "AS IS" BASIS,
13 .\" WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 .\" See the License for the specific language governing permissions and
15 .\" limitations under the License.
17 .\" Copyright 2016 Toomas Soome <tsoome@me.com>
19 .Dd Jan 28, 2016 \" Date
20 .Dt MDNSD 1M \" Document Title
21 .Os illumos \" Operating System
25 .Nd Multicast and Unicast DNS daemon \" Name Description for whatis database
35 is a daemon invoked at boot time to implement Multicast DNS and DNS Service Discovery.
38 listens on UDP port 5353 for Multicast DNS Query packets.
39 When it receives a query for which it knows an answer,
41 issues the appropriate Multicast DNS Reply packet.
44 also performs Unicast and Multicast DNS Queries on behalf of client processes, and
45 maintains a cache of the replies.
48 has no user-specifiable command-line argument, and users should not run
52 There are several methods with which to examine
53 .Nm Ns 's internal state for debugging and diagnostic purposes. The syslog(3C)
54 logging levels map as follows:
56 .Dl Error - Error messages
57 .Dl Warning - Client-initiated operations
58 .Dl Notice - Sleep proxy operations
59 .Dl Info - Informational messages
61 By default, only log level Error is logged.
63 A SIGUSR1 signal toggles additional logging, with Warning and Notice
66 .Dl % sudo pkill -USR1 mdnsd
68 A SIGUSR2 signal toggles packet logging:
70 .Dl % sudo pkill -USR2 mdnsd
72 A SIGINFO signal will dump a snapshot summary of the internal state:
74 .Dl % sudo pkill -INFO mdnsd
76 .Pa /usr/lib/inet/mdnsd \" Pathname
79 For information on Multicast DNS, see
80 .Pa http://www.multicastdns.org/
82 For information on DNS Service Discovery, see
83 .Pa http://www.dns-sd.org/
85 For information on how to use the Multicast DNS and the
86 DNS Service Discovery APIs on Mac OS X and other platforms, see
87 .Pa http://developer.apple.com/bonjour/
89 For the source code to
91 .Pa http://developer.apple.com/darwin/projects/bonjour/
93 .Sh INTERFACE STABILITY
101 service is managed by the service management facility,
102 \fBsmf\fR(5), under the service identifier:
104 .Dl svc:/network/dns/multicast:default
106 Administrative actions on this service, such as enabling, disabling, or
107 requesting restart, can be performed using \fBsvcadm\fR(1M). The service's
108 status can be queried using the \fBsvcs\fR(1) command.