# Properties

Canonical URL: https://developers.iagenify.com/sdk/ref/domain/properties/
Language: en

What the object holds, what is a snapshot, and which fields are the ones to act on.

Status: status is the gate · dns is the mail state · nameservers are per domain

| Name | Type | Requirement | Description |
| --- | --- | --- | --- |
| `id · name` | string |  | The identifier and the domain. |
| `status` | string |  | `pending_nameservers` · `active`. |
| `nameservers` | string[] |  | The pair to set at the registrar. |
| `dns` | object |  | `{ mxOk, spfOk, dkimOk, dmarcOk, checkedAt }`. |
| `imported` | object |  | `{ found, added, at }`. |
| `mailHosts` | array |  | `[{ host, selector, dns, enabledAt }]`. |
| `registrar` | string |  | Who registered it. |
| `createdAt` | string |  | When it was attached. |
| `data` | object |  | Everything the platform returned. |

## It is a snapshot {#snapshot}

> **Only check() re-reads the zone**
>
> status and dns are what was last recorded. Listing or getting a domain returns that record — a domain that became active an hour ago still reads as pending until something checks.

## status is a gate, not a label {#status}

While it is `pending_nameservers`, nothing in the zone serves: records can be written and mail can be enabled, and none of it is live. Showing a green state before that is the single most misleading thing an interface can do here.

## The four witnesses {#dns}

| Field | True when the zone holds |
| --- | --- |
| `mxOk` | the records that make mail arrive |
| `spfOk` | the record saying who may send |
| `dkimOk` | the key that signs |
| `dmarcOk` | the policy |

## mailHosts is per host {#mailhosts}

The apex and each subdomain appear separately, each with its own selector and its own four witnesses — because each is configured on its own.

## Never hardcode the nameservers {#nameservers}

They are stored per domain and handed back here. A pair written into your own code works until the day it is changed.

- [check()](/sdk/ref/domain/check): Refreshing it.
- [mail.status()](/sdk/ref/domain/mail/status): The witnesses, re-read.
