How do I use DNS for hostname resolution?

How do I use DNS for hostname resolution?

In Solaris 2.x, this is easy: simply edit /etc/nsswitch.conf
and put "dns" before (or instead of) nis or nisplus on the line that begins
with "hosts:". For example, to look up hostnames first in the host
file and then in the DNS, use "hosts: files dns"



Home
FAQ