[Fedora-directory-users] Understand nsswitch.conf
Oscar A. Valdez
oscar.valdez at duraflex-politex.com
Sat Mar 4 18:01:20 UTC 2006
El sáb, 04-03-2006 a las 08:25 -0800, Mont Rothstein escribió:
> I recently had a problem logging into the admin console because files
> was listed before dns on the hosts line of my nsswitch.conf file.
>
> It was hosts: files dns
> It now is hosts: dns files
>
> I understand that this line specifies the lookup order for host
> information. What I'd like to know is if this implies that something
> else is miss-configured on my system, or if this was the root problem?
> i.e. does FDS simply require that dns be listed first or should it
> have worked with files first?
>
> As far as I know files does a look up in /etc/hosts. My /etc/hosts
> has a single entry:
>
> 192.168.1.115 rheles4rs1.forayadams.foray.com rheles4rs1
>
> Those are the correct IP, FQDN, and server name for my server.
>
> Any insight into this would be appreciated.
My /etc/hosts has three other lines before that one:
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 localhost.localdomain localhost
You might be missing the 127.0.0.1 line.
--
Oscar A. Valdez
More information about the Fedora-directory-users
mailing list