thanks for this.

But is there no direct way of doing it?
Without a nslookup for hostname ?

amit