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

From: Saxon, Stuart <Stuart.Saxon_at_centrica.co.uk>
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

Stuart



>  -----Original Message-----
> i.e.
>
>
> Solaris 10
> ---------------
> # nslookup 10.48.2.23
> Server:         10.54.20.10
> Address:        10.54.20.10#53
>
> 23.2.48.10.in-addr.arpa name = awacs
>
>
> Solaris 9
> -------------
> # nslookup 10.48.2.23
> Server:  DNS1
> Address:  10.54.20.10
>
> Name:    awacs
> Address:  10.48.2.23
>
> 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
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
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