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

From: Saxon, Stuart (Stuart.Saxon@centrica.co.uk)
Date: Sun Feb 05 2006 - 13:47:08 EST


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
Datacenter Projects [bauhaus]
Principle Unix Administrator
Centrica
Tel: 01784 265025
Mobile: 07789 571811

_____________________________________________________________________
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



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:38:51 EDT