Hi. There are times when DNS and a PC name do not match, and can determine this with PING -a, for example, I ping Computer 1 and returns an IP address, then PING -a the IP address and find the IP is associated with Computer2. I once wrote a simple batch that pinged the PC by name, captured the IP, then PING -a and if the PC names don't match, there's a conflict. That worked well.
Is there an elegant way to do this type of verification in VB.net? I have an app that depends on connectivity to a remote PC host (on an AD domain), but it fails if there's a DNS conflict. I'd like to verify there's an actual DNS issue in VB, instead of calling on CMD to check.