2 .\" See section LICENSE for license information.
9 .Nd name service switch module to support Apple mdnsd
13 shared library implements a name service switch module to interface with Apple
14 mdnsd. It is enabled by adding
20 This will cause calls to
25 to include mdnsd in their lookup path.
29 shared library should be installed in the system library paths, typically in
32 .Bl -tag -width Pa -compact
33 .It Pa /etc/nss_mdns.conf
38 .Pa /etc/nsswitch.conf :
39 .Dl hosts: files mdns dns
41 This will cause the name service switch to lookup hostnames first using
43 then mdns and finally via DNS.
46 dumps status information via
49 .\" Cross-references should be ordered by section (low to high), then in
50 .\" alphabetical order.
55 .Li info libc Qq Name Service Switch
59 was originally written for
60 .An NICTA Bq http://www.nicta.com.au/ .
62 .An "Andrew White" Bq Andrew.White@nicta.com.au
64 Return values for obscure error conditions may not match those expected by nsswitch code.
66 Version 0.62 of mdnsd does not support an option to force link-local multicast lookups.
68 reverse lookups for non-link-local domains will not function correctly.
70 This software is licensed under the NICTA Public Source License version 1.0
71 .Ss NICTA Public Software Licence
74 Copyright 2004 National ICT Australia Ltd
78 By this licence, National ICT Australia Ltd (NICTA) grants permission,
79 free of charge, to any person who obtains a copy of this software
80 and any associated documentation files ("the Software") to use and
81 deal with the Software in source code and binary forms without
82 restriction, with or without modification, and to permit persons
83 to whom the Software is furnished to do so, provided that the
84 following conditions are met:
87 Redistributions of source code must retain the above copyright
88 notice, this list of conditions and the following disclaimers.
90 Redistributions in binary form must reproduce the above copyright
91 notice, this list of conditions and the following disclaimers in
92 the documentation and/or other materials provided with the
95 The name of NICTA may not be used to endorse or promote products
96 derived from this Software without specific prior written permission.
99 EXCEPT AS EXPRESSLY STATED IN THIS LICENCE AND TO THE FULL EXTENT
100 PERMITTED BY APPLICABLE LAW, THE SOFTWARE IS PROVIDED "AS-IS" AND
101 NICTA MAKES NO REPRESENTATIONS, WARRANTIES OR CONDITIONS OF ANY
102 KIND, EXPRESS OR IMPLIED, INCLUDING, WITHOUT LIMITATION, ANY
103 REPRESENTATIONS, WARRANTIES OR CONDITIONS REGARDING THE CONTENTS
104 OR ACCURACY OF THE SOFTWARE, OR OF TITLE, MERCHANTABILITY, FITNESS
105 FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, THE ABSENCE OF LATENT
106 OR OTHER DEFECTS, OR THE PRESENCE OR ABSENCE OF ERRORS, WHETHER OR
109 TO THE FULL EXTENT PERMITTED BY APPLICABLE LAW, IN NO EVENT WILL
110 NICTA BE LIABLE ON ANY LEGAL THEORY (INCLUDING, WITHOUT LIMITATION,
111 NEGLIGENCE) FOR ANY LOSS OR DAMAGE WHATSOEVER, INCLUDING (WITHOUT
112 LIMITATION) LOSS OF PRODUCTION OR OPERATION TIME, LOSS, DAMAGE OR
113 CORRUPTION OF DATA OR RECORDS; OR LOSS OF ANTICIPATED SAVINGS,
114 OPPORTUNITY, REVENUE, PROFIT OR GOODWILL, OR OTHER ECONOMIC LOSS;
115 OR ANY SPECIAL, INCIDENTAL, INDIRECT, CONSEQUENTIAL, PUNITIVE OR
116 EXEMPLARY DAMAGES ARISING OUT OF OR IN CONNECTION WITH THIS LICENCE,
117 THE SOFTWARE OR THE USE OF THE SOFTWARE, EVEN IF NICTA HAS BEEN
118 ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
120 If applicable legislation implies warranties or conditions, or
121 imposes obligations or liability on NICTA in respect of the Software
122 that cannot be wholly or partly excluded, restricted or modified,
123 NICTA's liability is limited, to the full extent permitted by the
124 applicable legislation, at its option, to:
126 .Bl -tag -width "a." -compact
128 in the case of goods, any one or more of the following:
129 .Bl -tag -width "iii." -compact
131 the replacement of the goods or the supply of equivalent goods;
133 the repair of the goods;
135 the payment of the cost of replacing the goods or of acquiring
138 the payment of the cost of having the goods repaired; or
141 in the case of services:
142 .Bl -tag -width "iii." -compact
144 the supplying of the services again; or
146 the payment of the cost of having the services supplied again.