> ## Documentation Index
> Fetch the complete documentation index at: https://docs.squarecloud.app/llms.txt
> Use this file to discover all available pages before exploring further.

# DNS-Einträge abrufen

> Rufe die DNS-Einträge für deine Custom Domain ab.

**Eine Custom Domain muss bereits an die Anwendung gebunden sein, um diese Route zu nutzen.** Custom Domains sind ab dem [Standard-Plan](https://squarecloud.app/de/pricing) verfügbar. Für diese Route gilt ein Rate-Limit von 3 Anfragen alle 10 Sekunden.

<ParamField header="Authorization" type="string" placeholder="API Key" required>
  Der API-Schlüssel für Ihr Konto. Sie finden ihn in Ihren [Kontoeinstellungen](https://squarecloud.app/de/account/security).
</ParamField>

### Parameter

<ParamField path="app_id" type="string" placeholder="Application ID" required>
  Die ID der Anwendung. Du findest sie in der URL des Dashboards deiner Anwendung.
</ParamField>

### Antwort

<ResponseField name="status" type="string">
  Gibt an, ob der Aufruf erfolgreich war. `success` bei Erfolg, `error` andernfalls.
</ResponseField>

<ResponseField name="response" type="array">
  Der Inhalt der Antwort.

  <Expandable title="Objekt umschalten">
    <ResponseField name="type" type="string">
      Der Typ des DNS-Eintrags.
    </ResponseField>

    <ResponseField name="name" type="string">
      Der Name des DNS-Eintrags.
    </ResponseField>

    <ResponseField name="value" type="string">
      Der Wert des DNS-Eintrags.
    </ResponseField>

    <ResponseField name="status" type="string">
      Der Status des DNS-Eintrags. Er kann `pending_validation`, `pending` oder `active` sein.
    </ResponseField>
  </Expandable>
</ResponseField>

<ResponseExample>
  ```json theme={null}
  {
    "status": "success",
    "response": [
      {
        "type": "txt",
        "name": "_acme-challenge.joaootavios.dev",
        "value": "hmo-jMx_KCWQU5CWG6xmrkI4AOZOJXlQtjEtc7zI1PA",
        "status": "pending_validation"
      },
      {
        "type": "cname",
        "name": "joaootavios.dev",
        "value": "cname.squareweb.app",
        "status": "pending"
      }
    ]
  }
  ```
</ResponseExample>
