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