Get Failed Dns Queries
Return the given count of recent failed DNS queries from DNS forwarder. Since the DNS forwarder is running in Acitve/Standby HA mode on transport nodes, the given count of queries will be returned from each nodes. Hence the total queries returned could be doubled. If no count is specified, 100 recent failed queries are returned. If the recent failures is less than the given count, all the failures will be returned. The maximum count is 1,000.
This API is deprecated, Please use policy APIs GET /policy/api/v1/infra/tier-0s/<tier-0-id>/dns-forwarder/failed-queries GET /policy/api/v1/infra/tier-1s/<tier-1-id>/dns-forwarder/failed-queries
forwarder-id
The count of the failed DNS queries
OK
{
"per_node_failed_queries": [
{
"_links": [
{
"action": "string",
"href": "string",
"rel": "string"
}
],
"_schema": "string",
"_self": {},
"cursor": "string",
"result_count": 0,
"sort_ascending": false,
"sort_by": "string",
"node_id": "string",
"results": [
{
"address": "string",
"client_ip": "string",
"error_message": "string",
"error_type": "string",
"forwarder_ip": "string",
"record_type": "string",
"source_ip": "string",
"time_spent": 0,
"timestamp": "string",
"upstream_server_ip": "string"
}
],
"timestamp": "string"
}
],
"timestamp": "string"
}
The array of failed DNS queries on active and standby transport node. If there is no standby node, the failed queries on standby node will not be present.
Timestamp of the request, in YYYY-MM-DD HH:MM:SS.zzz format.
Not Found
curl -H 'Authorization: <value>' https://{api_host}/api/v1/dns/forwarders/{forwarder-id}/failed-queries