Configuring Domain Name Files

Create or Modify the Hosts File

Figure 12-2 Sample Hosts Configuration File

#This file contains information regarding the known hosts.

#The for for each entry is:

#

host IP address local host name host aliases

#

 

#Note: the entries cannot be preceded by a blank space.

172.0.0.1localhost loopback me myself local

192.41.12.100

basful.loc1.inet.com

bashful

 

192.41.11.114

happy.loc1.inet.com

happy

 

192.41.11.413

queezy.loc1.inet.com

queezy

 

192.41.112.122

sneezy.loc2.inet.com

sneezy

 

192.41.124.4

mpmndda.loc1.inet.com

mpmndda

moose

192.41.124.6

mpmndwa.loc1.inet.com

mpmndwa

wabbit

192.41.114.132

mpmtchq.loc1.inet.com

mpmtchq

foo

192.41.110.16

mpmndiv.loc1.inet.com

mpmndiv

zephyr

192.41.110.82

abacus.loc1.inet.com

abacus

spots

192.41.112.161

camelot.loc1.inet.com

camelot

 

192.41.112.166

bigblue.loc1.inet.com

bigblue

 

NOTE

The IP addresses and host names used in Figure 12-2are for purposes

 

of the example only.

Chapter 12

169