WinPE
asked on
VBSCRIPT: Perform Reverse NSLookup by computer's own ip.
I need to figure out a way to perform a reverse NS lookup by the computer's ip the script is running on. I also need to get the value minus the hostname from the lookup.
So nslookup 10.0.0.1
replied
hostname.contoso1.contoso. com
10.0.0.1
I need to grab the contoso1.contso.com and store it in a constant/variable.
I can't for the life of me figure this one out, can anyone help. I would like to do this in VB/VBscript if possible.
So nslookup 10.0.0.1
replied
hostname.contoso1.contoso.
10.0.0.1
I need to grab the contoso1.contso.com and store it in a constant/variable.
I can't for the life of me figure this one out, can anyone help. I would like to do this in VB/VBscript if possible.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.