Solaris – Enabling DNS resolution (Client)

 To enable the DNS resolver client on Solaris, follow these steps,

  1. Change the line in the file /etc/nsswitch.conf that reads “hosts:     files” to

    hosts:      dns files

  2. Add the following line to the file /etc/resolv.conf. If the file doesnt exsist, create one.

    nameserver      [DNS IP]

Rick Donato

Want to become a UNIX expert?

Here is our hand-picked selection of the best courses you can find online:
UNIX Administration Fundamentals
Vim Masterclass
and our recommended certification practice exams:
AlphaPrep Practice Tests - Free Trial