]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
Fix documentation around get*DomainMetadata 10345/head
authorGreg MacLellan <greg@gregmaclellan.com>
Fri, 30 Apr 2021 20:29:51 +0000 (16:29 -0400)
committerGitHub <noreply@github.com>
Fri, 30 Apr 2021 20:29:51 +0000 (16:29 -0400)
* `GetDomainMetadata` and `GetAllDomainMetadata` state `false` can be returned, but doing this results in an error.
* Somewhere between PowerDNS 4.2 and 4.4, `GetAllDomainMetadata` became mandatory: a backend returning 404 will result in PowerDNS responding with `SERVFAIL`.

docs/backends/remote.rst

index 3e82e3d85af7882171c2ce6c53c53907997aefba..3b84224d7cba93969b96e4104eb3960202379ec4 100644 (file)
@@ -330,9 +330,9 @@ Response:
 
 Returns the value(s) for variable kind for zone name. You **must**
 always return something, if there are no values, you shall return empty
-set or false.
+set.
 
-*  Mandatory: No
+*  Mandatory: yes
 *  Parameters: name
 *  Reply: hash of key to array of strings
 
@@ -375,7 +375,7 @@ Response:
 Returns the value(s) for variable kind for zone name. Most commonly it's
 one of NSEC3PARAM, PRESIGNED, SOA-EDIT. Can be others, too. You **must**
 always return something, if there are no values, you shall return empty
-array or false.
+array.
 
 -  Mandatory: No
 -  Parameters: name, kind