From: Falko Flessner Date: Sun, 19 Oct 2025 17:24:19 +0000 (+0200) Subject: Fix[docs]: "real-remote" is always a CIDR-netmask X-Git-Tag: rec-5.4.0-alpha1~109^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0f71f1984980dc98531da2b08ad9fe4c424f1a9c;p=thirdparty%2Fpdns.git Fix[docs]: "real-remote" is always a CIDR-netmask - Update the "real-remote" example in the remote backend lookup. It is always a CIDR netmask and not a pure IP-address. - Update it for both JSON/RPC and HTTP/RPC examples. Signed-off-by: Falko Flessner --- diff --git a/docs/backends/remote.rst b/docs/backends/remote.rst index 054cd37c3f..3fa847e58e 100644 --- a/docs/backends/remote.rst +++ b/docs/backends/remote.rst @@ -209,7 +209,7 @@ Query: .. code-block:: json - {"method":"lookup", "parameters":{"qtype":"ANY", "qname":"www.example.com.", "remote":"192.0.2.24", "local":"192.0.2.1", "real-remote":"192.0.2.24", "zone-id":-1}} + {"method":"lookup", "parameters":{"qtype":"ANY", "qname":"www.example.com.", "remote":"192.0.2.24", "local":"192.0.2.1", "real-remote":"192.0.2.0/24", "zone-id":-1}} Response: @@ -227,7 +227,7 @@ Query: GET /dnsapi/lookup/www.example.com./ANY HTTP/1.1 X-RemoteBackend-remote: 192.0.2.24 X-RemoteBackend-local: 192.0.2.1 - X-RemoteBackend-real-remote: 192.0.2.24 + X-RemoteBackend-real-remote: 192.0.2.0/24 X-RemoteBackend-zone-id: -1 Response: