Home Solaris Solaris system administration Change Solaris DNS client settings

Change Solaris DNS client settings

0
1023

One or more DNS servers can be configured in the Solaris system to enable name resoultion with DNS.


To set the name servers to 192.168.20.53 and 192.168.80.155, place these two lines in the file /etc/resolv.conf

This howto shows the commands and examples for changing the DNS client settings in the Solaris environment.

domain tech-recipes.com
nameserver 192.168.20.53
nameserver 192.168.80.155

The optional domain directive specifies the default domain to use when doing hostname lookups.

See also Configure Solaris for DNS resolution of hostnames

NO COMMENTS

LEAVE A REPLY

Please enter your comment!
Please enter your name here

error: Content is protected !!