O'Reilly logo

Solaris™ Operating Environment Boot Camp by Dominic Butler, David Rhodes

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required