Checking the Connection

At the moment, we have DNS enabled for xenon only, so let's check that this works correctly before starting to reconfigure the remaining machines. We already know that the connection to the router is OK, but since we used an IP address rather than a host name, DNS wasn't required—we already knew the IP address, so didn't need to look it up. Now we will bring DNS into play to complete the test:

xenon# ping www.sun.com
www.sun.com is alive
xenon#

Good. DNS has managed to resolve the host name www.sun.com into the correct IP address and has successfully managed to ping it.

Nslookup

It's always nice when we can dig a little deeper into the details we are checking. For example, we don't really know that the nameserver was ...

Get Solaris™ Operating Environment Boot Camp now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.