/v3/api/dnsQueryLogs/{queryId} (GET) - BlueCat DNS Edge

DNS Edge User Guide

BlueCat DNS Edge

Returns details for a specific query.

GET https://api-<DNS.Edge.URL>/v3/api/dnsQueryLogs/{queryId}
Authorization: Bearer token

Successful response

200 OK
Content-Type: application/JSON
    "matchedPolicies": [
    "answers": [

Returns the following information:

  • Time: Unix time (in milliseconds) when the DNS query was made. (This is the request time, not the response time or logging time.)
  • Source: The IP address of the client making the DNS query.
  • Site: The site name of the service point handling the query.
  • Query: The domain name being queried.
  • QueryType: The query type.
  • Response: The response code (for example NXDOMAIN, NOERROR or SERVFAIL).
  • ID: An identifier that can be passed to key in subsequent requests (used for paging through lots of data)
  • Action Taken: If no policy was matched, this will be "query-response", otherwise this will be either block,redirect, or monitor
  • Matched Policies: List of policy IDs and names that matched the given query

    The number of entries in the list depends on the number of queries within specified period. The list returned may be empty.

  • Authority: The authority assigned to the DNS query.
  • QueryProtocol: The protocol of the DNS query (usually UDP or TCP).
  • Threats: The list of possible threats detected during the query analysis.
  • QueriedNamespaces: The list of namespaces the DNS query was queried against.
  • Latency: The latency (in milliseconds) of the DNS query measured.

Possible error codes