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