# نظرة عامة

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

مجال ملحق: حالته، سجلاته، بريده، وما إذا كان التحول إلينا آمن بعد.

Status: records, hosting and mail · status is proof

| العضو | الوظيفة |
| --- | --- |
| [)كككيلو)ك)](/ar/sdk/ref/domain/check) | إعادة قراءة المنطقة. هذا هو ما يتحرك `status`. |
| [(ال)](/ar/sdk/ref/domain/migration) | هل سيغير الآن أي شيء؟ |
| [خ ع](/ar/sdk/ref/domain/serve) · [غير](/ar/sdk/ref/domain/unserve) | جعل a مضيف الاسم في الواقع خادم. |
| [)أ(](/ar/sdk/ref/domain/remove) | افصله. |
| [هـاء -](/ar/sdk/ref/domain/records/list) | `list` · `set` · `remove` · `import`. |
| [ما](/ar/sdk/ref/domain/mail/enable) | `enable` · `status` · `hosts` · `dmarc` · `bimi` · `disable`. |
| [attach()](/ar/sdk/ref/domain/attach) · [attachments()](/ar/sdk/ref/domain/attach) | Put a host of the account behind the name. |
| [redirects](/ar/sdk/ref/domain/redirects) | Send `www` — or the root — somewhere else. |
| [owner()](/ar/sdk/ref/domain/owner) · [tls()](/ar/sdk/ref/domain/tls) | The registry's view, and the certificates. |
| [dnssec](/ar/sdk/ref/domain/dnssec) · [verify()](/ar/sdk/ref/domain/verify) | Sign the zone; prove the domain to a service. |

## ما الذي يحمله {#properties}

| Name | Type | Requirement | Description |
| --- | --- | --- | --- |
| `name` | string |  | الـ. |
| `status` | string |  | `pending_nameservers` - أن يكون السجل قد أشار إلى ذلك هنا؛ `active` بعد |
| `nameservers` | string[] |  | ماذا يجب أن تحدد في المسجل **إقرأهم؛ لا تُصدّر أبداً زوجاً.** |
| `dns` | object |  | `{ mxOk, spfOk, dkimOk, dmarcOk, checkedAt }` - - - - - - - - - - - - - - - - - - - - - - - - - - |
| `imported` | object |  | `{ found, added, at }` - ما الذي وجد ونسخ من الاستيلاء على. |
| `mailHosts` | array |  | مضيفين حيث البريد ممكن، كل مع منتقيه وشهوده. |
| `registrar` | string |  | الذي سجله |

## مضيف، ليس فقط حقل {#two-levels}

> **الـ و a و a a متفرِض لـ بريد**
>
> فَهَلْ يَتَحَدَّثُ ٱلْمَسِيحُ عَنْ مَسِيحِيِّينَ مِنْ مَسْلَكٍ مَسْمَاعٍ مُسْتَقِيمٍ ؟

## الـ {#sequence}

```javascript
const domain = await api.domains.get("example.com");

await domain.migration();          // safe to switch?
await domain.records.import();     // if not
await domain.check();              // until status is "active"
await domain.mail.enable();        // then mail
```

- [migration()](/ar/sdk/ref/domain/migration): هل التحول آمن بعد؟
- [records.set()](/ar/sdk/ref/domain/records/set): كتابة سجل.
- [mail.enable()](/ar/sdk/ref/domain/mail/enable): البريد في مكالمة واحدة.

```python
domain = api.domains.get("example.com")

domain.migration()            # safe to switch?
domain.records.import_zone()  # if not
domain.check()                # until status is "active"
domain.mail.enable()          # then mail
```
