145916cd2Sjpk# 27c478bd9Sstevel@tonic-gate# CDDL HEADER START 37c478bd9Sstevel@tonic-gate# 47c478bd9Sstevel@tonic-gate# The contents of this file are subject to the terms of the 545916cd2Sjpk# Common Development and Distribution License (the "License"). 645916cd2Sjpk# You may not use this file except in compliance with the License. 77c478bd9Sstevel@tonic-gate# 87c478bd9Sstevel@tonic-gate# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 97c478bd9Sstevel@tonic-gate# or http://www.opensolaris.org/os/licensing. 107c478bd9Sstevel@tonic-gate# See the License for the specific language governing permissions 117c478bd9Sstevel@tonic-gate# and limitations under the License. 127c478bd9Sstevel@tonic-gate# 137c478bd9Sstevel@tonic-gate# When distributing Covered Code, include this CDDL HEADER in each 147c478bd9Sstevel@tonic-gate# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 157c478bd9Sstevel@tonic-gate# If applicable, add the following below this CDDL HEADER, with the 167c478bd9Sstevel@tonic-gate# fields enclosed by brackets "[]" replaced with your own identifying 177c478bd9Sstevel@tonic-gate# information: Portions Copyright [yyyy] [name of copyright owner] 187c478bd9Sstevel@tonic-gate# 197c478bd9Sstevel@tonic-gate# CDDL HEADER END 207c478bd9Sstevel@tonic-gate# 21*4b22b933Srs200217# Copyright 2007 Sun Microsystems, Inc. All rights reserved. 227c478bd9Sstevel@tonic-gate# Use is subject to license terms. 237c478bd9Sstevel@tonic-gate# 247c478bd9Sstevel@tonic-gate#ident "%Z%%M% %I% %E% SMI" 257c478bd9Sstevel@tonic-gate 267c478bd9Sstevel@tonic-gate# 277c478bd9Sstevel@tonic-gate# /etc/nsswitch.dns: 287c478bd9Sstevel@tonic-gate# 297c478bd9Sstevel@tonic-gate# An example file that could be copied over to /etc/nsswitch.conf; it uses 307c478bd9Sstevel@tonic-gate# DNS for hosts lookups, otherwise it does not use any other naming service. 317c478bd9Sstevel@tonic-gate# 327c478bd9Sstevel@tonic-gate# "hosts:" and "services:" in this file are used only if the 337c478bd9Sstevel@tonic-gate# /etc/netconfig file has a "-" for nametoaddr_libs of "inet" transports. 347c478bd9Sstevel@tonic-gate 357c478bd9Sstevel@tonic-gate# DNS service expects that an instance of svc:/network/dns/client be 367c478bd9Sstevel@tonic-gate# enabled and online. 377c478bd9Sstevel@tonic-gate 387c478bd9Sstevel@tonic-gatepasswd: files 397c478bd9Sstevel@tonic-gategroup: files 407c478bd9Sstevel@tonic-gate 417c478bd9Sstevel@tonic-gate# You must also set up the /etc/resolv.conf file for DNS name 42*4b22b933Srs200217# server lookup. See resolv.conf(4). For lookup via mdns 43*4b22b933Srs200217# svc:/network/dns/multicast:default must also be enabled. See mdnsd(1M) 44*4b22b933Srs200217hosts: files dns mdns 457c478bd9Sstevel@tonic-gate 467c478bd9Sstevel@tonic-gate# Note that IPv4 addresses are searched for in all of the ipnodes databases 477c478bd9Sstevel@tonic-gate# before searching the hosts databases. 48*4b22b933Srs200217ipnodes: files dns mdns 497c478bd9Sstevel@tonic-gate 507c478bd9Sstevel@tonic-gatenetworks: files 517c478bd9Sstevel@tonic-gateprotocols: files 527c478bd9Sstevel@tonic-gaterpc: files 537c478bd9Sstevel@tonic-gateethers: files 547c478bd9Sstevel@tonic-gatenetmasks: files 557c478bd9Sstevel@tonic-gatebootparams: files 567c478bd9Sstevel@tonic-gatepublickey: files 577c478bd9Sstevel@tonic-gate# At present there isn't a 'files' backend for netgroup; the system will 587c478bd9Sstevel@tonic-gate# figure it out pretty quickly, and won't use netgroups at all. 597c478bd9Sstevel@tonic-gatenetgroup: files 607c478bd9Sstevel@tonic-gateautomount: files 617c478bd9Sstevel@tonic-gatealiases: files 627c478bd9Sstevel@tonic-gateservices: files 637c478bd9Sstevel@tonic-gateprinters: user files 647c478bd9Sstevel@tonic-gate 657c478bd9Sstevel@tonic-gateauth_attr: files 667c478bd9Sstevel@tonic-gateprof_attr: files 677c478bd9Sstevel@tonic-gateproject: files 6845916cd2Sjpk 6945916cd2Sjpktnrhtp: files 7045916cd2Sjpktnrhdb: files 71