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
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.