Name Services Configuration Guide
  Искать только в названиях книг
Загрузить это руководство в формате PDF

............................Contents


Preface
xv

1. Overview of Name Services
1
...What Is a Name Service? 1
...What Is DNS? 2
...What Is NIS? 2
...What Is NIS+? 3
......What NIS + Can Do for You 4
...How NIS+ Differs from NIS 5

Part 1 --NIS+ Concepts

2. Understanding Name Services
9
...Purpose of Name Services 9
...Overview of DNS 16
......DNS and the Internet 18
......DNS Name Resolution and Mail Delivery 20
...Overview of NIS 21
......NIS Maps 23
...Overview of NIS+ 24
......NIS+ Security 27
......NIS+ and the Name Service Switch 27
......NIS+ and Solaris 1.x 28
..........NIS-Compatibility Mode 28
..........Solaris 1.x Distribution 29
......NIS+ Administration Commands 29
......NIS+ API 31
...What Next? 31

3. Understanding the NIS+ Namespace
33
...Structure of the NIS+ Namespace 33
...Directories 35
...Domains 36
...Servers 38
......How Servers Propagate Changes 39
...Clients 41
......The Coldstart File and Directory Cache 43
......An NIS+ Server Is Also a Client 47
...Naming Conventions 48
...NIS+ Name Expansion 53

4. Understanding NIS+ Tables and Information
55
...NIS+ Table Structure 55
......Columns and Entries 57
......Search Paths 58
...Ways to Set Up Tables 60
......How Tables Are Updated 62

5. Understanding the Name Service Switch
63
...About the Name Service Switch 63
......Format of the nsswitch.conf File 64
...nsswitch.nisplus File 67
......DNS Forwarding for NIS+ Clients 68
...The nsswitch.nis File 69
......DNS Forwarding for NIS Clients 69
...The nsswitch.files File 70

Part 2 --Nis+ Configuration Tutorial

6. Getting Started with NIS+
73
...Before You Start NIS+ 73
......Planning Your NIS+ Layout 74
......Determining Server and System Space Requirements 74
..........Disk Space and Memory Recommendations 75
...About the NIS+ Scripts 76
......What the NIS+ Scripts Won't Do 77

7. Setting Up NIS+
79
...NIS + Set up Overview 80
......Script Prerequisites 81
...Creating a Sample NIS+ Namespace 81
......Summary of NIS+ Scripts Command Lines 83
...Setting Up NIS+ Root Servers 85
......Prerequisites to Running nisserver (1M) 86
..........Information You Need 86
......· How to Create a Root Master Server 86
......· How to Change Incorrect Information 89
...Populating NIS+ Tables 91
......Prerequisites to Running nispopulate(1M) 91
..........Information You Need 92
......· How to Populate the Root Master Server Tables 93
...Setting Up Root Domain NIS+ Client Machines 102
......Prerequisites to Running nisclient(1M) 102
..........Information You Need 102
......· How to Initialize a New Client Machine 103
......Creating Additional Client Machines 105
...Initializing NIS+ Client Users 105
......Prerequisites to Running nisclient(1M) 105
..........Information You Need 105
......· How to Initialize an NIS+ User 106
...Setting Up NIS+ Servers 106
......Prerequisites to Running rpc.nisd(1M) 107
..........Information You Need 107
......· How to Configure a Client as an NIS+ Server 108
......Creating Additional Servers 109
...Designating Root Replicas 109
......Prerequisites to Running nisserver(1M) 109
..........Information You Need 109
......· How to Create a Root Replica 110
......Creating Additional Replicas 111
...Creating a Subdomain 112
......Prerequisites to Running nisserver(1M) 112
..........Information You Need 112
......· How to Create a New Non-Root Domain 113
......Creating Additional Domains 115
...Populating the New Domain's Tables 115
......Prerequisites to Running nispopulate(1M) 115
..........Information You Need 117
......· How to Populate Master Server Tables 117
...Designating Replicas 118
......Prerequisites to Running nisserver(1M) 119
..........Information You Need 119
......· How to Create a Replica 119
...Initializing Subdomain NIS+ Client Machines 120
......Prerequisites to Running nisclient(1M) 120
..........Information You Need 120
......· How to Initialize a New Subdomain Client Machine 121
...Initializing Subdomain NIS+ Client Users 121
......Prerequisites to Running nisclient(1M) 121
..........Information You Need 122
......· How to Initialize an NIS+ Subdomain User 122
...Summary of Commands for the Sample NIS+ Namespace 122

Part 3 --DNS Concepts

8. DNS Structure
127
...... DNS Clients 127
...DNS Servers 128
......Master Servers 128
......Caching and Caching-Only Servers 129

9. Setting Up DNS Clients
131
...Creating resolv.conf 131
...Modifying /etc/nsswitch.conf 132

10. Setting Up DNS Servers
133
...Creating Boot and Data Files 133
......named.boot 134
......named.ca 134
......hosts 134
......hosts.rev 135
......named.local 135
...Setting Up the Boot File 135
...Setting Up the Data Files 138
......Standard Resource Record Format 143
..........Special Characters 144
..........Control Entries 145
......Resource Record Types 146
..........SOA - Start of Authority 148
..........NS - Name Server 149
..........A - Address 150
..........HINFO - Host Information 150
..........WKS - Well Known Services 151
..........CNAME - Canonical Name 151
..........PTR - Domain Name Pointer 152
..........MX - Mail Exchanger 152
...Modifying the Data Files 153
...A Practical Example 154
...Setting Up a Root Server for a Local Network 162

A. Pre-Setup Worksheets
163

Glossary
173

Index
181