Zum Hauptinhalt springen

Get a DNS Zone

GET/dns-zones/{dnsZoneId}/
v2
GET
dns-get-dns-zone

Request

  • dnsZoneIdstring (uuid)
    required

    The ID of the zone to be retrieved.

Responses

application/json

The requested DNSZone.

  • domainstring
    required
  • idstring (uuid)
    required
  • recordSetobject
    required
    • cnameone of 2 alternatives
      required
      • Alternativeobject
        • Alternativeobject
          • fqdnstring (idn-dnsname)
            required
          • settingsobject
            required
            • ttlone of 2 alternatives
              • Alternativeobject
                • secondsinteger (≥ 300)
                  required
              • Alternativeobject
                • autoboolean
                  required

                  this will always be true

      • combinedARecordsone of 3 alternatives
        required
        • Alternativeobject
          • Alternativeobject
            • aarray of string (ipv4)
              required
              • Array[
              • *string (ipv4)
              • ]
          • aaaaarray of string (ipv6)
            required
            • Array[
            • *string (ipv6)
            • ]
        • settingsobject
          required
          • ttlone of 2 alternatives
            • Alternativeobject
              • secondsinteger (≥ 300)
                required
            • Alternativeobject
              • autoboolean
                required

                this will always be true

      • Alternativeobject
        • managedByone of 1 alternatives
          required
          • Alternativeobject
            • ingressIdstring (uuid)
              required
    • mxone of 3 alternatives
      required
      • Alternativeobject
        • Alternativeobject
          • managedboolean
            required
        • Alternativeobject
          • recordsarray of object
            required
            • Array[
            • *object
              • fqdnstring (≥ 1 characters, ≤ 50 characters, idn-dnsname)
                required
              • priorityinteger (≥ 0)
                required
            • ]
        • settingsobject
          required
          • ttlone of 2 alternatives
            • Alternativeobject
              • secondsinteger (≥ 300)
                required
            • Alternativeobject
              • autoboolean
                required

                this will always be true

      • srvone of 2 alternatives
        required
        • Alternativeobject
          • Alternativeobject
            • recordsarray of object
              required
              • Array[
              • *object
                • fqdnstring (≥ 1 characters, ≤ 50 characters, idn-dnsname)
                  required
                • portinteger (≥ 0)
                  required
                • priorityinteger (≥ 0)
                • weightinteger (≥ 0)
              • ]
          • settingsobject
            required
            • ttlone of 2 alternatives
              • Alternativeobject
                • secondsinteger (≥ 300)
                  required
              • Alternativeobject
                • autoboolean
                  required

                  this will always be true

        • txtone of 2 alternatives
          required
          • Alternativeobject
            • Alternativeobject
              • entriesarray of string (≤ 2048 characters)
                required
                • Array[
                • *string (≤ 2048 characters)
                • ]
            • settingsobject
              required
              • ttlone of 2 alternatives
                • Alternativeobject
                  • secondsinteger (≥ 300)
                    required
                • Alternativeobject
                  • autoboolean
                    required

                    this will always be true

          • Usage examples

            $ curl \
            --fail \
            --location \
            -H "Authorization: Bearer $MITTWALD_API_TOKEN" \
            https://api.mittwald.de/v2/dns-zones/f0f86186-0a5a-45b2-aa33-502777496347