xref: /illumos-gate/usr/src/cmd/netfiles/nsswitch.dns (revision 581cede61ac9c14d8d4ea452562a567189eead78)
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#ident	"%Z%%M%	%I%	%E% SMI"
25
26#
27# /etc/nsswitch.dns:
28#
29# An example file that could be copied over to /etc/nsswitch.conf; it uses
30# DNS for hosts lookups, otherwise it does not use any other naming service.
31#
32# "hosts:" and "services:" in this file are used only if the
33# /etc/netconfig file has a "-" for nametoaddr_libs of "inet" transports.
34
35# DNS service expects that an instance of svc:/network/dns/client be
36# enabled and online.
37
38passwd:     files
39group:      files
40
41# You must also set up the /etc/resolv.conf file for DNS name
42# server lookup.  See resolv.conf(4). For lookup via mdns
43# svc:/network/dns/multicast:default must also be enabled. See mdnsd(1M)
44hosts:      files dns mdns
45
46# Note that IPv4 addresses are searched for in all of the ipnodes databases
47# before searching the hosts databases.
48ipnodes:   files dns mdns
49
50networks:   files
51protocols:  files
52rpc:        files
53ethers:     files
54netmasks:   files
55bootparams: files
56publickey:  files
57# At present there isn't a 'files' backend for netgroup;  the system will
58#   figure it out pretty quickly, and won't use netgroups at all.
59netgroup:   files
60automount:  files
61aliases:    files
62services:   files
63printers:	user files
64
65auth_attr:  files
66prof_attr:  files
67project:    files
68
69tnrhtp:     files
70tnrhdb:     files
71