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]

About the Author


R Donato

Rick Donato is the Founder and Chief Editor of He currently works as an SDN/NFV Solutions Architect and has a keen interest in automation and the cloud.

You can find Rick on Twitter @f3lix001