How are host names determined?
The network scan results list shows the incorrect names for most (all?) of my hosts and no name at all for others.
For example, I have a host computer running Windows 7. IP Config on it identifies the IP as 192.168.100.105, MAC address xx-xx-xx-xx-xx. The host name shown in Computer Properties is TUC0328. DHCP on my primary domain controller lists all of this correctly. But, Network Scanner shows host TUC0328 is on port 192.168.100.140 with MAC address yy-yy-yy-yy-yy-yy.
Meanwhile, network scanner shows an entirely different device on port 192.168.100.105 / MAC zz-zz-zz-zz-zz-zz; a device which, according to DHCP is actually on 192.168.100.92.
I am very confused.
All Forums
> Network Scanner
> Current topic
Host name resolution
Started by Carmine
Carmine
Host name resolution 27 May 2016, 00:50 |
Re: Host name resolution 27 May 2016, 00:57 |
Admin Registered: 18 years ago Posts: 3 519 |
Firstly, host name resolution is firstly done via a standard system call gethostbyaddr that performs reverse lookups. Unfortunately its behavior is not clearly explained by Microsoft and we don't know where exactly it obtains this information from.
Secondly, if the above fails, it attempts to lookup a NetBios name, similar to how nbtstat works. So normally you should check what these commands return:
Secondly, if the above fails, it attempts to lookup a NetBios name, similar to how nbtstat works. So normally you should check what these commands return:
- nslookup -type=ptr x.x.x.x
- nbtstat -A x.x.x.x
- tracert x.x.x.x
Carmine
Re: Host name resolution 27 May 2016, 01:03 |
Carmine
Re: Host name resolution 27 May 2016, 01:18 |
Re: Host name resolution 27 May 2016, 01:23 |
Admin Registered: 18 years ago Posts: 3 519 |
Re: Host name resolution 09 July 2016, 05:58 |
Registered: 8 years ago Posts: 25 |
Re: Host name resolution 09 July 2016, 07:37 |
Admin Registered: 18 years ago Posts: 3 519 |