CheckDNSSrvRecord

Available Methods

https://gcmsdk.azurewebsites.net/CheckDNSSrvRecord/{guid}/{service}/{protocol}/{domain}/{expectedValue}

Query String Parameters

{guid}: String: API Key required for authentication
{service}: String: SRV Service
{protocol}: String: SRV Protocol
{domain}: String: Root domain
{expectedValue}: String: What is expected to be returned

Example Request

curl – request GET \
--url '
https://gcmsdk.azurewebsites.net/CheckDNSSrvRecord/{guid}/_sip/_tls/domain.com/0 0 5061 sip.domain.com'

--include

OR

Powershell> Invoke-RestMethod -Url https://gcmsdk.azurewebsites.net/CheckDNSSrvRecord/{guid}/_sip/_tls/domain.com/0 0 5061 sip.domain.com

Example Response

[
  {
    "Service": "_sip",
    "Protocol": "_tls",
    "Domain": "masteringlync.com",
    "ExpectedValue": "0 0 443 sipdir.online.lync.com",
    "ReturnedValue": [
      {
        "srv": "100 1 443 sipdir.online.lync.com"
      }
    ],
    "Result": "Mismatch Results"
  }
]