From da3c1c93955faa5777dcccc7c68cf470820c8fb4 Mon Sep 17 00:00:00 2001 From: Peder Stray Date: Fri, 9 Sep 2022 13:46:51 +0200 Subject: [PATCH] Add clarification of JSON value type to some fields --- i-d/pdns-qof.xml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/i-d/pdns-qof.xml b/i-d/pdns-qof.xml index e884c40..93eda27 100644 --- a/i-d/pdns-qof.xml +++ b/i-d/pdns-qof.xml @@ -206,7 +206,7 @@ ws = *( Implementation MUST support all the mandatory fields. Uniqueness property: the tuple (rrname,rrtype,rdata) will always be unique within one answer per server. While rrname and rrtype are always individual JSON primitive types (strings, numbers, booleans or null), rdata MAY return multiple resource records or a single record. When multiple resource records are returned, rdata MUST be a JSON array. In the case of a single resource record is returned, rdata MUST be a JSON string or a JSON array containing one JSON string. Senders SHOULD send an array for rdata, but receivers MUST be able to accept a single-string result for rdata.
- This field returns the name of the queried resource. JSON string. + This field returns the name of the queried resource. Represented as a JSON string.
This field returns the resource record type as seen by the passive DNS. The key is rrtype and the value is in the interpreted record type represented as a JSON string. If the value cannot be interpreted, the decimal value is returned following the principle of transparency as described in RFC 3597. Then the decimal value is represented as a JSON number. @@ -232,7 +232,7 @@ ws = *( Specifies how many authoritative DNS answers were received at the Passive DNS Server's collectors with exactly the given set of values as answers (i.e. same data in the answer set - compare with the uniqueness property in "Mandatory Fields"). The number of requests is expressed as a decimal value. This field is represented as a JSON number.
- The bailiwick is the best estimate of the apex of the zone where this data is authoritative. + The bailiwick is the best estimate of the apex of the zone where this data is authoritative. This field is represented as a JSON string.
@@ -248,7 +248,7 @@ ws = *( This field returns the last time that the unique tuple (rrname, rrtype, rdata) record has been seen via master file import. The date is expressed in seconds (decimal) since 1st of January 1970 (Unix timestamp). The time zone MUST be UTC. This field is represented as a JSON number.
- Specifies the resource origin of the Passive DNS response. This field is represented as a Uniform Resource Identifier (URI). + Specifies the resource origin of the Passive DNS response. This field is represented as a Uniform Resource Identifier (URI) in the form of a JSON string.