Skip to main content

List DNS Zones belonging to a Project

GET/projects/{projectId}/dns-zones/
v2
GET
dns-list-dns-zones

Request

  • projectIdstring (uuid)
    required

    ID of the Project to list DNSZones for.

Responses

application/json

An array of DNSZone objects.

  • Array[
  • *object
    • domainstring
      required
    • idstring (uuid)
      required
    • recordSetobject
      required
      • caaone of 2 alternatives
        required
        • Alternativeobject
          • Alternativeobject
            • recordsarray of object
              required
              • Array[
              • *object
                • flagsinteger (≥ 0)
                  required
                • tagstring (one of: issue, issuewild, iodef)
                  required
                • valuestring (idn-dnsname)
                  required
              • ]
          • settingsobject
            required
            • ttlone of 2 alternatives
              • Alternativeobject
                • secondsinteger (≥ 300)
                  required
              • Alternativeobject
                • autoboolean
                  required

                  this will always be true

      • 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/projects/f0f86186-0a5a-45b2-aa33-502777496347/dns-zones