From 8cb4d128f5392646eb60229717b09f8398897075 Mon Sep 17 00:00:00 2001 From: Simon Zolin Date: Mon, 2 Dec 2019 16:17:39 +0300 Subject: [PATCH] * openapi: get /querylog: add "original_answer", "service_name" --- openapi/openapi.yaml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/openapi/openapi.yaml b/openapi/openapi.yaml index 608b5848..2bc937a6 100644 --- a/openapi/openapi.yaml +++ b/openapi/openapi.yaml @@ -1405,6 +1405,11 @@ definitions: type: "array" items: $ref: "#/definitions/DnsAnswer" + original_answer: + type: "array" + description: "Answer from upstream server (optional)" + items: + $ref: "#/definitions/DnsAnswer" client: type: "string" example: "192.168.0.1" @@ -1433,6 +1438,10 @@ definitions: - "FilteredParental" - "FilteredInvalid" - "FilteredSafeSearch" + - "FilteredBlockedService" + service_name: + type: "string" + description: "Set if reason=FilteredBlockedService" status: type: "string" description: "DNS response status"