* openapi: get /querylog: add "original_answer", "service_name"

This commit is contained in:
Simon Zolin 2019-12-02 16:17:39 +03:00
parent 7c0b2d8ede
commit 8cb4d128f5

View File

@ -1405,6 +1405,11 @@ definitions:
type: "array" type: "array"
items: items:
$ref: "#/definitions/DnsAnswer" $ref: "#/definitions/DnsAnswer"
original_answer:
type: "array"
description: "Answer from upstream server (optional)"
items:
$ref: "#/definitions/DnsAnswer"
client: client:
type: "string" type: "string"
example: "192.168.0.1" example: "192.168.0.1"
@ -1433,6 +1438,10 @@ definitions:
- "FilteredParental" - "FilteredParental"
- "FilteredInvalid" - "FilteredInvalid"
- "FilteredSafeSearch" - "FilteredSafeSearch"
- "FilteredBlockedService"
service_name:
type: "string"
description: "Set if reason=FilteredBlockedService"
status: status:
type: "string" type: "string"
description: "DNS response status" description: "DNS response status"