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