# Bereich

Canonical URL: https://developers.iagenify.com/de/sdk/agent/tools/domain/
Language: de

`domain({ action, domain?, type?, name?, content?, … })`

Die Domains des Kontos und ihre DNS. Lesen kostet nichts; jede Zonenänderung wird vom Benutzer selbst im Auto genehmigt.

Status: read, or dns · asked even in auto · NS refused

## Die Aktionen {#actions}

| Frei (gelesen) | Gefragt (dns) |
| --- | --- |
| `search` · `list` · `get` · `check` | `add` · `import` · `remove` |
| `migration` · `records` · `servers` | `record` · `unrecord` |
| `mail_status` | `mail_enable` · `mail_disable` · `serve` · `unserve` |
| `owner` · `expiring` · `tls` | `attach` · `detach` |
| `attachments` · `redirects` | `redirect` · `unredirect` |
| `dnssec_status` · `verifications` | `dnssec` · `dnssec_off` · `verify` · `dmarc` · `bimi` |

## Migration bevor etwas umgeschaltet wird {#dnssec}

Der Agent wird angewiesen, Migration zu starten und das Domain-Thema zu lesen, bevor er ein Wort über Nameserver sagt. Er wird aufgefordert, die Domains zu editieren und zu lesen.

> **Turning it off is the dangerous half**
>
> Ein Datensatz macht keinen Namen nützlich

## Die Plattform, die dient, muss auch den Namen akzeptieren, oder ihre Kante verweigert die Verbindung. `serve` führt sowohl zusammen – den Datensatz und die Registrierung – als auch `servers` listet, was dienen kann. Für etwas, das auf IaGenify selbst gehostet wird, ist [deploy](/de/sdk/agent/tools/deploy) die eigene `domain` Aktion die zu verwendende. {#redirects}

NS wird abgelehnt

## Eine Aufzeichnung, die einen Namen wegdelegiert, ist genau das, was eine Subdomain-Übernahme aussagt, also wird der Typ überhaupt nicht akzeptiert. {#registry}

« immer » ist pro Domain

## Die Genehmigung einer Zone für die Sitzung genehmigt nie eine andere, und nichts wird auf Diskette geschrieben. {#verify}

A code pasted without its prefix gets it, and a code pasted with another service's prefix is refused rather than rewritten. The service itself verifies, when it decides — the answer says so, so the agent cannot announce success.

## migration before anything is switched {#migration}

> **A zone starts empty**
>
> Telling a user to point their nameservers at us too early stops their site, their mail and their signature at once. The agent is instructed to run migration and read the domains topic before saying a word about nameservers.

## A record does not make a name serve {#serve}

The platform that serves must also accept the name, or its edge refuses the connection. `serve` does both together — the record and the registration — and `servers` lists what can serve. For something hosted on IaGenify itself, [deploy](/de/sdk/agent/tools/deploy)'s own `domain` action is the one to use.

## NS is refused {#ns}

A record delegating a name away is exactly what a subdomain takeover looks like, so the type is not accepted at all.

## « always » is per domain {#always}

Approving one zone for the session never approves another, and nothing is written to disk.

- [Domain](/de/sdk/ref/domain): From code.
- [dns](/de/sdk/agent/permissions/categories/dns): Why auto still asks.
- [Agent tools](/de/sdk/agent/tools): The 35, by family.
