Testing the Servers

Now that we've completed configuring the master and slave, let's check that they are working OK. The main tools we'll use for doing this are ping and nslookup. Nslookup ignores the settings defined in the name service switch file (/etc/nsswitch.conf) and uses DNS to perform any lookups. This will be fine for checking that the underlying files are set up correctly.

We need to make sure that we can resolve external names (assuming we are connected to the Internet at this point), hosts connected to the local network, the “localhost” entry, and all the above using reverse lookups. Once we are happy this is working, we'll use ping to do some “general” checks. This will use the switch file and therefore confirm that it's also set ...

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.