xref: /illumos-gate/usr/src/cmd/netfiles/nsswitch.dns (revision 80cb7d835ea830bbb01519a84135ba3099446327)
1#
2# CDDL HEADER START
3#
4# The contents of this file are subject to the terms of the
5# Common Development and Distribution License (the "License").
6# You may not use this file except in compliance with the License.
7#
8# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9# or http://www.opensolaris.org/os/licensing.
10# See the License for the specific language governing permissions
11# and limitations under the License.
12#
13# When distributing Covered Code, include this CDDL HEADER in each
14# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15# If applicable, add the following below this CDDL HEADER, with the
16# fields enclosed by brackets "[]" replaced with your own identifying
17# information: Portions Copyright [yyyy] [name of copyright owner]
18#
19# CDDL HEADER END
20#
21# Copyright 2007 Sun Microsystems, Inc.  All rights reserved.
22# Use is subject to license terms.
23#
24
25#
26# /etc/nsswitch.dns:
27#
28# An example file that could be copied over to /etc/nsswitch.conf; it uses
29# DNS for hosts lookups, otherwise it does not use any other naming service.
30#
31# "hosts:" and "services:" in this file are used only if the
32# /etc/netconfig file has a "-" for nametoaddr_libs of "inet" transports.
33
34# DNS service expects that an instance of svc:/network/dns/client be
35# enabled and online.
36
37passwd:     files
38group:      files
39
40# You must also set up the /etc/resolv.conf file for DNS name
41# server lookup.  See resolv.conf(4). For lookup via mdns
42# svc:/network/dns/multicast:default must also be enabled. See mdnsd(1M)
43hosts:      files dns mdns
44
45# Note that IPv4 addresses are searched for in all of the ipnodes databases
46# before searching the hosts databases.
47ipnodes:   files dns mdns
48
49networks:   files
50protocols:  files
51rpc:        files
52ethers:     files
53netmasks:   files
54bootparams: files
55publickey:  files
56netgroup:   files
57automount:  files
58aliases:    files
59services:   files
60printers:	user files
61
62auth_attr:  files
63prof_attr:  files
64project:    files
65
66tnrhtp:     files
67tnrhdb:     files
68