Howto check if two hosts are the same
- by Michael Stoll
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?