Browse Source

feat(docs): link zonefile export in bulk operations

Peter Thomassen 2 years ago
parent
commit
435f1fe590
2 changed files with 8 additions and 3 deletions
  1. 2 0
      docs/dns/domains.rst
  2. 6 3
      docs/dns/rrsets.rst

+ 2 - 0
docs/dns/domains.rst

@@ -257,6 +257,8 @@ and ``subname`` would just be ``_acme-challenge``.
 The above API request helps you answer this kind of question.
 
 
+.. _exporting-a-domain:
+
 Exporting a Domain as Zonefile
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 

+ 6 - 3
docs/dns/rrsets.rst

@@ -451,9 +451,12 @@ For details about input validation and return status codes, please refer to
 Bulk Operations
 ~~~~~~~~~~~~~~~
 
-The ``rrsets/`` endpoint supports bulk operations via the ``POST``, ``PATCH``,
-and ``PUT`` request methods. You can simply send an array of RRset objects
-(instead of just one), like this::
+To download your domain's DNS records in zonefile format, please see
+:ref:`exporting-a-domain`.
+
+The ``rrsets/`` endpoint supports bulk write operations via the ``POST``,
+``PATCH``, and ``PUT`` request methods.  You can simply send an array of RRset
+objects (instead of just one), like this::
 
     curl -X PATCH https://desec.io/api/v1/domains/{name}/rrsets/ \
         --header "Authorization: Token {secret}" \