CheckDNSARecord

Available Methods

https://gcmsdk.azurewebsites.net/CheckDNSARecord/{guid}/{fqdn}/{expectedIP}

Query String Parameters

{guid}: String: API Key required for authentication
{fqdn}: String: FQDN to check
{expectedIP}: String: Expected DNS Result

Example Request

curl – request GET \
--url 'https://gcmsdk.azurewebsites.net/CheckDNSARecord/{guid}/sip.domain.com/22.22.33.22'
--include

OR

Powershell> Invoke-RestMethod -Url https://gcmsdk.azurewebsites.net/CheckDNSARecord/{guid}/sip.domain.com/22.22.33.22

Example Response

[
  {
    "FQDN": "sipdir.online.lync.com",
    "ExpectedIP": "22.33.22.33",
    "ReturnedIPs": [
      {
        "ip": "52.112.65.139"
      }
    ],
    "Result": "No Match"
  }
]