xref: /titanic_41/usr/src/cmd/netfiles/nsswitch.dns (revision 1c42de6d020629af774dd9e9fc81be3f3ed9398e)
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 2006 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).
43hosts:      files dns
44
45# Note that IPv4 addresses are searched for in all of the ipnodes databases
46# before searching the hosts databases.
47ipnodes:   files dns
48
49networks:   files
50protocols:  files
51rpc:        files
52ethers:     files
53netmasks:   files
54bootparams: files
55publickey:  files
56# At present there isn't a 'files' backend for netgroup;  the system will
57#   figure it out pretty quickly, and won't use netgroups at all.
58netgroup:   files
59automount:  files
60aliases:    files
61services:   files
62printers:	user files
63
64auth_attr:  files
65prof_attr:  files
66project:    files
67
68tnrhtp:     files
69tnrhdb:     files
70