pnorris99
asked on
VB2008 - DNS lookup from IP
Hi Guys,
I initially did this in VBS but then realised I can't run a VBS in the WinPE environment so need to make this an executable.
All of our machines IP's and Hostnames are prestaged based on their Mac address, so mac address 00:00:00:00:00:01 would be given IP 192.168.1.2 and Machine name Computer_1 by default in DNS.
What I need to do is create a small app using VB that will look for the machines name in DNS, this will then allow me to change the answer file on the fly inserting the Machine name in the answer file making sure that all of my machines are named correctly bsed on their DNS entry.
Any help would be really cool thanks guys.
Phil,
I initially did this in VBS but then realised I can't run a VBS in the WinPE environment so need to make this an executable.
All of our machines IP's and Hostnames are prestaged based on their Mac address, so mac address 00:00:00:00:00:01 would be given IP 192.168.1.2 and Machine name Computer_1 by default in DNS.
What I need to do is create a small app using VB that will look for the machines name in DNS, this will then allow me to change the answer file on the fly inserting the Machine name in the answer file making sure that all of my machines are named correctly bsed on their DNS entry.
Any help would be really cool thanks guys.
Phil,
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thats perfect thanks for your time mate,
P.
P.
ASKER
Open in new window