Link to home
Start Free TrialLog in
Avatar of lee88
lee88Flag for United States of America

asked on

Where does HostName come from (that shows up on IP scan, like Angry IP?

When I use an IP scanner on my office LAN, the HostName that shows up (in the scanner's results) are sometimes not consistent with the setting for Computer Name on that PC (after a recent computer name change and reboot). Sometimes, I can reboot the nrewly-named PC several times, and Angry IP Scanner will still show the old name. How does this work? (Where does HostName come from on Angry IP?)
ASKER CERTIFIED SOLUTION
Avatar of Shmoid
Shmoid
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of lee88

ASKER

Thanks for the answer Shmoid. Is there a local command line comand that will expedite the flushing-out of the old and registering of the new name with the DNS server?
On Windows 2000 and newer you can use the ipconfig command with the /registerdns switch to register the PC after a name change but it will not remove the old entry. Syntax is:
ipconfig /registerdns [adapter]

You can turn on DNS scavenging on the DNS server but it runs at a configurable interval. So it wouldn't help immediately after a name change. However, it does automate the task so you don't have to  manually go and delete old records. Take a look at this article about DNS scavenging.

http://searchwindowsserver.techtarget.com/tip/0,289483,sid68_gci1040355,00.html
Avatar of lee88

ASKER

Thanks for the very complete answer.
Glad I could help. Thanks for the points!