xref: /titanic_50/usr/src/lib/libdns_sd/README (revision 8cfa78e6de0de88f6a15cd29ee5f6a8a1bfe7c20)
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# Copyright 2016 Toomas Soome <tsoome@me.com>
25#
26Updated from upstream version mDNSResponder-576.30.4
27
28Multicast DNS and Service Discovery support in Solaris using the
29Apple Bonjour source code (v107.6). Apple Bonjour source can be
30downloaded from:
31 	http://developer.apple.com/networking/bonjour/download/
32The following components are integrated from the Apple Bonjour
33source in Solaris:
34  libdns_sd: 	usr/src/lib/libdns_sd <dns_sd.h>
35  libjdns_sd:   usr/src/lib/libdns_sd/java/common
36  dnssd.jar:    usr/src/lib/libdns_sd/java/com (incl. examples)
37  mdnsd:	usr/src/cmd/cmd-inet/usr.lib/mdnsd
38  dns-sd:	usr/src/cmd/cmd-inet/usr.bin/dns-sd.c
39
40Following fixes have been made to the Apple Bonjour source
41integrated in Solaris:
42* 64-bit support by adding pad bytes in ipc_msg_hdr_struct
43* 64-bit support in libjdns_sd, dnssd.jar (JNISupport.c, DNSSD.java)
44* mdnsd switches to user 'noaccess' and not 'nobody' after init
45* Fixes to support IPv6 (mDNSPosix.c, mDNSUNP.c)
46* Fix error raised when uDNS.c is compiled with Sun Studio compiler
47* Fix in dnssd_clientstub.c to not check errno when recvmsg returns 0
48* mDNSDebug.c modified to not send msgs directly to console when
49  syslog call returns an error. Logs the messages at LOG_INFO level
50  and not LOG_ERR
51
52In addition the project introduces the following changes:
53* A new nss_mdns module is introduced to use Multicast DNS (mdns)
54  for resolving link-local hostnames and is located at:
55    usr/src/lib/nsswitch/mdns
56* snoop updated to decode mDNS packets
57* updated /etc/services to include mdns
58* <netinet/in.h> updated to include mdns
59* svc:/network/dns/multicast:default introduced to manage mDNS daemon
60* solaris.smf.manage.mdns & solaris.smf.value.mdns authorizations
61  to modify nss_mdns configuration in svc:/network/dns/multicast:default
62  Both authorizations added in network management execution profile.
63* Default nsswitch.dns includes mdns as source for hosts & ipnodes
64* nscd daemon updated to support mdns
65* SUNWdsdu and SUNWdsdr packages deliver all the new mDNS
66  service discovery components.
67