microsoft/SdnDiagnostics

managementAddresses may contain both FQDN and IP Address

arudell opened this issue · 1 comments

Describe the bug
In some configurations, the managementAddress property may contain both an IP address and FQDN of the resource. This causes issues later when trying to leverage the cache to perform operations.

Expected behavior
We should only return a single object or improve logic handling if multiple management addresses are found for a specific resource.

Screenshots
image

Environment Details (please complete the following information):

  • Windows Server OS: Windows Server 2019
  • SdnDiagnostics Version: 2.2201.198.12840

This one is going to be a bit complex as could be IP address, NetBIOS or FQDN defined and may be different for each SDN environment. These addresses can also be duplicate. Will need to have a function that will examine the results and do some DNS and Reverse DNS lookups to try and sort out the duplicate objects.