Configuring DNS on Solaris 10 (Joining Solaris10 server to Domain)

################ Configure Solaris 10 machine to be on DNS##############

1. Check for file resolv.conf in /etc directory, if it doenst exist create it

2. add below information to the resolv.conf file

domain mydomain.com
nameserver 172.20.4.10
nameserver 172.20.4.166
search mydomain.com

3. Check for file nsswitch.conf in /etc directory

hosts:      files
ipnodes:    files

## edit the above 2 lines and add ‘dns’ in front of file

hosts:      files dns
ipnodes:    files dns

save and exit

$ nslookup swxscan

Server:         172.20.4.10
Address:        172.20.4.10#53

Name:   swxscan.mydomain.com
Address: 172.21.51.18
Name:   swxscan.mydomain.com
Address: 172.21.51.17
Name:   swxscan.mydomain.com
Address: 172.21.51.19

Voila

Advertisements

One thought on “Configuring DNS on Solaris 10 (Joining Solaris10 server to Domain)

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s