mirror of
https://github.com/adulau/pdns-qof.git
synced 2024-11-22 18:17:04 +00:00
rdata type clarification array
Multiple resource records -> JSON array Single resource record -> JSON string
This commit is contained in:
parent
091bfcd078
commit
d674178d6d
1 changed files with 1 additions and 1 deletions
|
@ -193,7 +193,7 @@ CR = %x0D
|
||||||
</section>
|
</section>
|
||||||
<section title="Mandatory Fields">
|
<section title="Mandatory Fields">
|
||||||
<t>Implementation MUST support all the mandatory fields.</t>
|
<t>Implementation MUST support all the mandatory fields.</t>
|
||||||
<t>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 be an array as defined in <xref target="RFC4627">JSON</xref>. Implementors of this draft MUST be able to deal with rdata being returned as JSON array or alternatively as a JSON string. <!-- MOTE: this is not good --></t>
|
<t>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.</t>
|
||||||
<section title="rrname">
|
<section title="rrname">
|
||||||
<t>This field returns the name of the queried resource.</t>
|
<t>This field returns the name of the queried resource.</t>
|
||||||
</section>
|
</section>
|
||||||
|
|
Loading…
Reference in a new issue