xref: /aosp_15_r20/external/mdnsresponder/mDNSPosix/nss_mdns.conf.5 (revision 48a54d368dc4fa860885eef7b70b6c53499e7c25)
1*48a54d36SAndroid Build Coastguard Worker.\"
2*48a54d36SAndroid Build Coastguard Worker.\" See section LICENSE for license information.
3*48a54d36SAndroid Build Coastguard Worker.\"
4*48a54d36SAndroid Build Coastguard Worker.Dd June 15, 2004
5*48a54d36SAndroid Build Coastguard Worker.Dt NSS_MDNS.CONF 5
6*48a54d36SAndroid Build Coastguard Worker.Os
7*48a54d36SAndroid Build Coastguard Worker.Sh NAME
8*48a54d36SAndroid Build Coastguard Worker.Nm nss_mdns.conf
9*48a54d36SAndroid Build Coastguard Worker.Nd configuration file for
10*48a54d36SAndroid Build Coastguard Worker.Xr libnss_mdns 8 .
11*48a54d36SAndroid Build Coastguard Worker.Sh DESCRIPTION
12*48a54d36SAndroid Build Coastguard WorkerThis file describes the domains that
13*48a54d36SAndroid Build Coastguard Worker.Xr libnss_mdns 8
14*48a54d36SAndroid Build Coastguard Workeris to support.  If a lookup domain is not in this list, then
15*48a54d36SAndroid Build Coastguard Worker.Li NSS_STATUS_NOTFOUND
16*48a54d36SAndroid Build Coastguard Workerwill be returned to libc and processing will continue according to
17*48a54d36SAndroid Build Coastguard Worker.Xr nsswitch.conf 5 .
18*48a54d36SAndroid Build Coastguard Worker.Ss Configuration file format
19*48a54d36SAndroid Build Coastguard WorkerLines containing only whitespace or lines whose first non-whitespace character is
20*48a54d36SAndroid Build Coastguard Worker.Ql #
21*48a54d36SAndroid Build Coastguard Workerare ignored.  No single line may be greater than 1023 characters plus end-of-line.
22*48a54d36SAndroid Build Coastguard Worker.Pp
23*48a54d36SAndroid Build Coastguard Worker.D1 Ic domain Ar x.y.z
24*48a54d36SAndroid Build Coastguard Worker.Pp
25*48a54d36SAndroid Build Coastguard WorkerEnable use of
26*48a54d36SAndroid Build Coastguard Worker.Xr libnss_mdns 8
27*48a54d36SAndroid Build Coastguard Workerto lookup DNS entries in the
28*48a54d36SAndroid Build Coastguard Worker.Ql x.y.z
29*48a54d36SAndroid Build Coastguard Workerdomain.  Leading and trailing dots are dropped.
30*48a54d36SAndroid Build Coastguard Worker.Pp
31*48a54d36SAndroid Build Coastguard WorkerReverse (PTR) lookups are enabled using their DNS names.  IPv6 names use
32*48a54d36SAndroid Build Coastguard Worker.Qq nibble format .
33*48a54d36SAndroid Build Coastguard Worker.Pp
34*48a54d36SAndroid Build Coastguard Worker.Dl domain 254.169.in-addr.arpa
35*48a54d36SAndroid Build Coastguard Worker.Dl domain 0.8.e.f.ip6.arpa
36*48a54d36SAndroid Build Coastguard Worker.Ss Default configuration
37*48a54d36SAndroid Build Coastguard WorkerIf the configuration file cannot be found then the following is assumed.
38*48a54d36SAndroid Build Coastguard Worker.Bd -literal -offset indent
39*48a54d36SAndroid Build Coastguard Workerdomain local
40*48a54d36SAndroid Build Coastguard Workerdomain 0.8.e.f.ip6.int
41*48a54d36SAndroid Build Coastguard Workerdomain 0.8.e.f.ip6.arpa
42*48a54d36SAndroid Build Coastguard Workerdomain 254.169.in-addr.arpa
43*48a54d36SAndroid Build Coastguard Worker.Ed
44*48a54d36SAndroid Build Coastguard Worker.Sh SEE ALSO
45*48a54d36SAndroid Build Coastguard Worker.\" Cross-references should be ordered by section (low to high), then in
46*48a54d36SAndroid Build Coastguard Worker.\"     alphabetical order.
47*48a54d36SAndroid Build Coastguard Worker.Xr nsswitch.conf 5 ,
48*48a54d36SAndroid Build Coastguard Worker.Xr libnss_mdns 8
49*48a54d36SAndroid Build Coastguard Worker.\" .Sh STANDARDS
50*48a54d36SAndroid Build Coastguard Worker.Sh HISTORY
51*48a54d36SAndroid Build Coastguard Worker.Xr libnss_mdns 8
52*48a54d36SAndroid Build Coastguard Workerwas originally written for
53*48a54d36SAndroid Build Coastguard Worker.An NICTA Bq http://www.nicta.com.au/ .
54*48a54d36SAndroid Build Coastguard Worker.Sh AUTHORS
55*48a54d36SAndroid Build Coastguard Worker.An "Andrew White" Bq [email protected]
56*48a54d36SAndroid Build Coastguard Worker.Sh LICENSE
57*48a54d36SAndroid Build Coastguard WorkerThis software is licensed under the NICTA Public Source License version 1.0
58*48a54d36SAndroid Build Coastguard Worker.Ss NICTA Public Software Licence
59*48a54d36SAndroid Build Coastguard WorkerVersion 1.0
60*48a54d36SAndroid Build Coastguard Worker.Pp
61*48a54d36SAndroid Build Coastguard WorkerCopyright 2004 National ICT Australia Ltd
62*48a54d36SAndroid Build Coastguard Worker.Pp
63*48a54d36SAndroid Build Coastguard WorkerAll rights reserved.
64*48a54d36SAndroid Build Coastguard Worker.Pp
65*48a54d36SAndroid Build Coastguard WorkerBy this licence, National ICT Australia Ltd (NICTA) grants permission,
66*48a54d36SAndroid Build Coastguard Workerfree of charge, to any person who obtains a copy of this software
67*48a54d36SAndroid Build Coastguard Workerand any associated documentation files ("the Software") to use and
68*48a54d36SAndroid Build Coastguard Workerdeal with the Software in source code and binary forms without
69*48a54d36SAndroid Build Coastguard Workerrestriction, with or without modification, and to permit persons
70*48a54d36SAndroid Build Coastguard Workerto whom the Software is furnished to do so, provided that the
71*48a54d36SAndroid Build Coastguard Workerfollowing conditions are met:
72*48a54d36SAndroid Build Coastguard Worker.Bl -bullet
73*48a54d36SAndroid Build Coastguard Worker.It
74*48a54d36SAndroid Build Coastguard WorkerRedistributions of source code must retain the above copyright
75*48a54d36SAndroid Build Coastguard Workernotice, this list of conditions and the following disclaimers.
76*48a54d36SAndroid Build Coastguard Worker.It
77*48a54d36SAndroid Build Coastguard WorkerRedistributions in binary form must reproduce the above copyright
78*48a54d36SAndroid Build Coastguard Workernotice, this list of conditions and the following disclaimers in
79*48a54d36SAndroid Build Coastguard Workerthe documentation and/or other materials provided with the
80*48a54d36SAndroid Build Coastguard Workerdistribution.
81*48a54d36SAndroid Build Coastguard Worker.It
82*48a54d36SAndroid Build Coastguard WorkerThe name of NICTA may not be used to endorse or promote products
83*48a54d36SAndroid Build Coastguard Workerderived from this Software without specific prior written permission.
84*48a54d36SAndroid Build Coastguard Worker.El
85*48a54d36SAndroid Build Coastguard Worker.Pp
86*48a54d36SAndroid Build Coastguard WorkerEXCEPT AS EXPRESSLY STATED IN THIS LICENCE AND TO THE FULL EXTENT
87*48a54d36SAndroid Build Coastguard WorkerPERMITTED BY APPLICABLE LAW, THE SOFTWARE IS PROVIDED "AS-IS" AND
88*48a54d36SAndroid Build Coastguard WorkerNICTA MAKES NO REPRESENTATIONS, WARRANTIES OR CONDITIONS OF ANY
89*48a54d36SAndroid Build Coastguard WorkerKIND, EXPRESS OR IMPLIED, INCLUDING, WITHOUT LIMITATION, ANY
90*48a54d36SAndroid Build Coastguard WorkerREPRESENTATIONS, WARRANTIES OR CONDITIONS REGARDING THE CONTENTS
91*48a54d36SAndroid Build Coastguard WorkerOR ACCURACY OF THE SOFTWARE, OR OF TITLE, MERCHANTABILITY, FITNESS
92*48a54d36SAndroid Build Coastguard WorkerFOR A PARTICULAR PURPOSE, NONINFRINGEMENT, THE ABSENCE OF LATENT
93*48a54d36SAndroid Build Coastguard WorkerOR OTHER DEFECTS, OR THE PRESENCE OR ABSENCE OF ERRORS, WHETHER OR
94*48a54d36SAndroid Build Coastguard WorkerNOT DISCOVERABLE.
95*48a54d36SAndroid Build Coastguard Worker.Pp
96*48a54d36SAndroid Build Coastguard WorkerTO THE FULL EXTENT PERMITTED BY APPLICABLE LAW, IN NO EVENT WILL
97*48a54d36SAndroid Build Coastguard WorkerNICTA BE LIABLE ON ANY LEGAL THEORY (INCLUDING, WITHOUT LIMITATION,
98*48a54d36SAndroid Build Coastguard WorkerNEGLIGENCE) FOR ANY LOSS OR DAMAGE WHATSOEVER, INCLUDING (WITHOUT
99*48a54d36SAndroid Build Coastguard WorkerLIMITATION) LOSS OF PRODUCTION OR OPERATION TIME, LOSS, DAMAGE OR
100*48a54d36SAndroid Build Coastguard WorkerCORRUPTION OF DATA OR RECORDS; OR LOSS OF ANTICIPATED SAVINGS,
101*48a54d36SAndroid Build Coastguard WorkerOPPORTUNITY, REVENUE, PROFIT OR GOODWILL, OR OTHER ECONOMIC LOSS;
102*48a54d36SAndroid Build Coastguard WorkerOR ANY SPECIAL, INCIDENTAL, INDIRECT, CONSEQUENTIAL, PUNITIVE OR
103*48a54d36SAndroid Build Coastguard WorkerEXEMPLARY DAMAGES ARISING OUT OF OR IN CONNECTION WITH THIS LICENCE,
104*48a54d36SAndroid Build Coastguard WorkerTHE SOFTWARE OR THE USE OF THE SOFTWARE, EVEN IF NICTA HAS BEEN
105*48a54d36SAndroid Build Coastguard WorkerADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
106*48a54d36SAndroid Build Coastguard Worker.Pp
107*48a54d36SAndroid Build Coastguard WorkerIf applicable legislation implies warranties or conditions, or
108*48a54d36SAndroid Build Coastguard Workerimposes obligations or liability on NICTA in respect of the Software
109*48a54d36SAndroid Build Coastguard Workerthat cannot be wholly or partly excluded, restricted or modified,
110*48a54d36SAndroid Build Coastguard WorkerNICTA's liability is limited, to the full extent permitted by the
111*48a54d36SAndroid Build Coastguard Workerapplicable legislation, at its option, to:
112*48a54d36SAndroid Build Coastguard Worker.Pp
113*48a54d36SAndroid Build Coastguard Worker.Bl -tag -width "a." -compact
114*48a54d36SAndroid Build Coastguard Worker.It a.
115*48a54d36SAndroid Build Coastguard Workerin the case of goods, any one or more of the following:
116*48a54d36SAndroid Build Coastguard Worker.Bl -tag -width "iii." -compact
117*48a54d36SAndroid Build Coastguard Worker.It i.
118*48a54d36SAndroid Build Coastguard Workerthe replacement of the goods or the supply of equivalent goods;
119*48a54d36SAndroid Build Coastguard Worker.It ii.
120*48a54d36SAndroid Build Coastguard Workerthe repair of the goods;
121*48a54d36SAndroid Build Coastguard Worker.It iii.
122*48a54d36SAndroid Build Coastguard Workerthe payment of the cost of replacing the goods or of acquiring
123*48a54d36SAndroid Build Coastguard Workerequivalent goods;
124*48a54d36SAndroid Build Coastguard Worker.It iv.
125*48a54d36SAndroid Build Coastguard Workerthe payment of the cost of having the goods repaired; or
126*48a54d36SAndroid Build Coastguard Worker.El
127*48a54d36SAndroid Build Coastguard Worker.It b.
128*48a54d36SAndroid Build Coastguard Workerin the case of services:
129*48a54d36SAndroid Build Coastguard Worker.Bl -tag -width "iii." -compact
130*48a54d36SAndroid Build Coastguard Worker.It i.
131*48a54d36SAndroid Build Coastguard Workerthe supplying of the services again; or
132*48a54d36SAndroid Build Coastguard Worker.It ii.
133*48a54d36SAndroid Build Coastguard Workerthe payment of the cost of having the services supplied again.
134*48a54d36SAndroid Build Coastguard Worker.El
135*48a54d36SAndroid Build Coastguard Worker.El
136