v1

latestOpenAPI 3.0.32026-07-17687987.2 KB
log

Get DNS server query log.

get/querylog

Query parameters

older_thanstring

Filter by older than

offsetinteger

Specify the ranking number of the first item on the page. Even though it is possible to use "offset" and "older_than", we recommend choosing one of them and sticking to it.

limitinteger

Limit the number of records to be returned

searchstring

Filter by domain name or client IP

response_status'all' | 'filtered' | 'blocked' | 'blocked_safebrowsing' | 'blocked_parental' | 'whitelisted' | 'rewritten' | 'safe_search' | 'processed'

Filter by response status

Response

OK.

oldeststring

Example response

{
  "data": [
    {
      "reason": "NotFilteredNotFound",
      "client_info": {
        "disallowed_rule": "disallowed_rule",
        "whois": {
          "country": "country",
          "orgname": "orgname",
          "city": "city"
        },
        "name": "name",
        "disallowed": true
      },
      "upstream": "upstream",
      "question": {
        "name": "xn--d1abbgf6aiiy.xn--p1ai",
        "unicode_name": "президент.рф",
        "type": "A",
        "class": "IN"
      },
      "service_name": "service_name",
      "client_proto": "dot",
      "rule": "||example.org^",
      "rules": [
        {
          "text": "||example.org^",
          "filter_list_id": 123123
        },
        {
          "text": "||example.org^",
          "filter_list_id": 123123
        }
      ],
      "original_answer": [
        {
          "type": "A",
          "ttl": 55,
          "value": "217.69.139.201"
        },
        {
          "type": "A",
          "ttl": 55,
          "value": "217.69.139.201"
        }
      ],
      "client_id": "cli123",
      "filterId": 123123,
      "answer_dnssec": true,
      "answer": [
        {
          "type": "A",
          "ttl": 55,
          "value": "217.69.139.201"
        },
        {
          "type": "A",
          "ttl": 55,
          "value": "217.69.139.201"
        }
      ],
      "ecs": "192.168.0.0/16",
      "cached": true,
      "client": "192.168.0.1",
      "time": "2018-11-26T00:02:41+03:00",
      "elapsedMs": "54.023928",
      "status": "NOERROR"
    },
    {
      "reason": "NotFilteredNotFound",
      "client_info": {
        "disallowed_rule": "disallowed_rule",
        "whois": {
          "country": "country",
          "orgname": "orgname",
          "city": "city"
        },
        "name": "name",
        "disallowed": true
      },
      "upstream": "upstream",
      "question": {
        "name": "xn--d1abbgf6aiiy.xn--p1ai",
        "unicode_name": "президент.рф",
        "type": "A",
        "class": "IN"
      },
      "service_name": "service_name",
      "client_proto": "dot",
      "rule": "||example.org^",
      "rules": [
        {
          "text": "||example.org^",
          "filter_list_id": 123123
        },
        {
          "text": "||example.org^",
          "filter_list_id": 123123
        }
      ],
      "original_answer": [
        {
          "type": "A",
          "ttl": 55,
          "value": "217.69.139.201"
        },
        {
          "type": "A",
          "ttl": 55,
          "value": "217.69.139.201"
        }
      ],
      "client_id": "cli123",
      "filterId": 123123,
      "answer_dnssec": true,
      "answer": [
        {
          "type": "A",
          "ttl": 55,
          "value": "217.69.139.201"
        },
        {
          "type": "A",
          "ttl": 55,
          "value": "217.69.139.201"
        }
      ],
      "ecs": "192.168.0.0/16",
      "cached": true,
      "client": "192.168.0.1",
      "time": "2018-11-26T00:02:41+03:00",
      "elapsedMs": "54.023928",
      "status": "NOERROR"
    }
  ],
  "oldest": "2018-11-26T00:02:41+03:00"
}