Howto check if two hosts are the same

Posted by Michael Stoll on Stack Overflow See other posts from Stack Overflow or by Michael Stoll
Published on 2010-05-25T16:05:02Z Indexed on 2010/05/25 18:51 UTC
Read the original article Hit count: 191

Filed under:
|
|

Hi,

I just came across an issue, where I had to check if a path points into a windows share. Part of this problem is to check if host A is the same as host B. Where host A and host B can be one of the following {IPv4-Address, IPv6-Address, Hostname, FQDN}. As I do not need to be exact it's enough to resolve and compare the IP-Addresses in my case.

But is there, theoretically, a method to check if the hosts are the same?

© Stack Overflow or respective owner

Related posts about networking

Related posts about dns