Pull request: querylog: make answer actually a string

Merge in DNS/adguard-home from 2609-dns-answer-string to master

Updates #2609.

Squashed commit of the following:

commit 1922f90c50f47735d8025d862fbf60bcf707140f
Author: Ainar Garipov <A.Garipov@AdGuard.COM>
Date:   Thu Jan 28 15:19:11 2021 +0300

    querylog: stricter typing

commit 6ef73a45d822f77cfda44d8c093f272704d5afb6
Author: Ainar Garipov <A.Garipov@AdGuard.COM>
Date:   Thu Jan 28 15:04:06 2021 +0300

    querylog: make answer actually a string
This commit is contained in:
Ainar Garipov
2021-01-28 16:00:29 +03:00
parent 154c9c1c26
commit 3af079a81b
2 changed files with 35 additions and 21 deletions

View File

@@ -1738,8 +1738,9 @@
'description': 'DNS answer section'
'properties':
'ttl':
'type': 'integer'
'example': 55
'format': 'uint32'
'type': 'integer'
'type':
'type': 'string'
'example': 'A'