nsswitch conf question

I normally force most of our clients to use a white list of sites which I enforce via a custom hosts file.  nsswitch is configured like this

hosts:  files mdns4_minimal [NOTFOUND=RETURN]

Open in new window

It's been a long time since I turned dns back on - Im trying to confirm if this should do it

hosts:  files mdns4_minimal [NOTFOUND=RETURN] dns

Open in new window

but I am not sure what
mdns4_minimal [NOTFOUND=RETURN]

Open in new window

does exactly
Who is Participating?
arnoldConnect With a Mentor Commented:
DNS should be the option before [NOTFOUND=return]
Hosts: files mdns4_minimal dns [NOTFOUND=RETURN]

Not sure which Linux distribution you are on

Mdns4 seems to be an implementation ..... For Ubuntu, ...

Though if you use DNS, you may not need mdbs4 features/functionality.
Peter SchultzConnect With a Mentor Senior Network AdministratorCommented:
mdns is name resolution based on multicasting local networks. mdns4 is the ipv4 implementation.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.