In my /etc/nsswitch.conf
have I set
hosts: files nis dns
With
ypwhich
ypcat hosts
ypcat passwd
can I verify that passwd
and group
are retrieved over NIS.
Question
How do I verify that DNS is working in NIS, as ping
gets it DNS from /etc/resolve.conf
and not NIS?