Why are nsswitch.conf settings being ignored?

Solution Verified - Updated -

Issue

  • Despite specifying "files" before "dns" in my nsswitch.conf file and having a valid entry in /etc/hosts, I still see network look-ups. Why?

Environment

  • Red Hat Enterprise Linux

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In