xref: /illumos-gate/usr/src/contrib/mDNSResponder/README (revision 763f1f5f97e4c16840af2ced98915f0ed0f46616)
1#
2# Copyright 2007 Sun Microsystems, Inc.  All rights reserved.
3# Use is subject to license terms.
4#
5# CDDL HEADER START
6#
7# The contents of this file are subject to the terms of the
8# Common Development and Distribution License (the "License").
9# You may not use this file except in compliance with the License.
10#
11# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
12# or http://www.opensolaris.org/os/licensing.
13# See the License for the specific language governing permissions
14# and limitations under the License.
15#
16# When distributing Covered Code, include this CDDL HEADER in each
17# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
18# If applicable, add the following below this CDDL HEADER, with the
19# fields enclosed by brackets "[]" replaced with your own identifying
20# information: Portions Copyright [yyyy] [name of copyright owner]
21#
22# CDDL HEADER END
23#
24
25The mdns vendor source repository is at https://github.com/illumos/mdns/.
26
27Updated from upstream version mDNSResponder-1310.80.1
28Updated from upstream version mDNSResponder-878.260.1
29Updated from upstream version mDNSResponder-878.1.1
30Updated from upstream version mDNSResponder-625.41.2
31Updated from upstream version mDNSResponder-576.30.4
32
33Multicast DNS and Service Discovery support in illumos using the
34Apple Bonjour source code (v107.6). Apple Bonjour source can be
35downloaded from:
36	https://opensource.apple.com/tarballs/mDNSResponder/
37The following components are integrated from the Apple Bonjour
38source in illumos:
39  libdns_sd:	usr/src/lib/libdns_sd <dns_sd.h>
40  mdnsd:	usr/src/cmd/cmd-inet/usr.lib/mdnsd
41  dns-sd:	usr/src/cmd/cmd-inet/usr.bin/dns-sd
42
43Following fixes have been made to the Apple Bonjour source
44integrated in illumos:
45* 64-bit support by adding pad bytes in ipc_msg_hdr_struct
46* 64-bit support in libjdns_sd, dnssd.jar (JNISupport.c, DNSSD.java)
47* mdnsd switches to user 'noaccess' and not 'nobody' after init
48* Fixes to support IPv6 (mDNSPosix.c, mDNSUNP.c)
49* Fix error raised when uDNS.c is compiled with Sun Studio compiler
50* Fix in dnssd_clientstub.c to not check errno when recvmsg returns 0
51* mDNSDebug.c modified to not send msgs directly to console when
52  syslog call returns an error. Logs the messages at LOG_INFO level
53  and not LOG_ERR
54
55In addition the project introduces the following changes:
56* A new nss_mdns module is introduced to use Multicast DNS (mdns)
57  for resolving link-local hostnames and is located at:
58    usr/src/lib/nsswitch/mdns
59* snoop updated to decode mDNS packets
60* updated /etc/services to include mdns
61* <netinet/in.h> updated to include mdns
62* svc:/network/dns/multicast:default introduced to manage mDNS daemon
63* solaris.smf.manage.mdns & solaris.smf.value.mdns authorizations
64  to modify nss_mdns configuration in svc:/network/dns/multicast:default
65  Both authorizations added in network management execution profile.
66* Default nsswitch.dns includes mdns as source for hosts & ipnodes
67* nscd daemon updated to support mdns
68* SUNWdsdu and SUNWdsdr packages deliver all the new mDNS
69  service discovery components.
70