Re: /etc/hosts ignored

Vik Bajaj (vbajaj@nic-21-3.resnet.upenn.edu)
Sat, 7 Dec 1996 20:10:09 -0500 (EST)

|
| I have entries in /etc/hosts, but they are not recognized.

Put 'order local,bind' in your /etc/resolv.conf.

| this is a UDB 233, 87megs ram (88 wont work)

Because the environment takes up some space.

| On a similar note, does anyone have a fix for the problem that Linux takes
| 20 minutes to boot when it is not on the network...

Create an /etc/nsswitch.conf file.

Mine is as follows:

# /etc/nsswitch.conf
#
# An example Name Service Switch config file. This file should be
# sorted with the most-used services at the beginning.
#
# The entry '[NOTFOUND=return]' means that the search for an
# entry should stop if the search in the previous entry turned
# up nothing. Note that if the search failed due to some other reason
# (like no NIS server responding) then the search continues with the
# next entry.
#
# Legal entries are:
#
# nisplus or nis+ Use NIS+ (NIS version 3)
# nis or yp Use NIS (NIS version 2), also called YP
# dns Use DNS (Domain Name Service)
# files Use the local files
# [NOTFOUND=return] Stop searching if not found so far
#

passwd: files
shadow: files
group: files
hosts: files dns
services: files
networks: files
protocols: files
rpc: files
ethers: files
netmasks: files
bootparams: files

netgroup: nisplus

publickey: nisplus

automount: files
aliases: files

--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com



Feedback | Store | News | Support | Product Errata | About Us | Linux Info | Search | JumpWords
No Frames | Show Frames

Copyright © 1995-1997 Red Hat Software. Legal notices