SUMMARY: Q: Does anyone know how to run nslookup on solaris 10 like older sun'oses

From: Saxon, Stuart <>
Date: Mon Feb 06 2006 - 06:28:43 EST
Thanks to those who have responded.

As I suspected I'll have to build a OSREL case statement around / into my
original script. Just like many other post jumpstart finish scripts.
Ho hum


>  -----Original Message-----
> i.e.
> Solaris 10
> ---------------
> # nslookup
> Server:
> Address:
> name = awacs
> Solaris 9
> -------------
> # nslookup
> Server:  DNS1
> Address:
> Name:    awacs
> Address:
> What I am then grep'ping and awk'ing for is the output to be like "^Name"
but as you can see in Sol 10 the ip address is presented first and in reverse
order. It is killing one of my logon / audit scripts.
> Any help would be appreciated.
> Stuart Saxon

The information contained in or attached to this email is intended only for
the use of the individual or entity to which it is addressed. If you are not
the intended recipient, or a person responsible for delivering it to the
intended recipient, you are not authorised to and must not disclose, copy,
distribute, or retain this message or any part of it. It may contain
information which is confidential and/or covered by legal professional or
other privilege (or other rules or laws with similar effect in jurisdictions
outside England and Wales).
The views expressed in this email are not necessarily the views of Centrica
plc, and the company, its directors, officers or employees make no
representation or accept any liability for its accuracy or completeness unless
expressly stated to the contrary.
sunmanagers mailing list
Received on Mon Feb 6 09:36:50 2006

This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:43:55 EST