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