# check()

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

`domain.check() → Promise<Domain>`

重新读取该区的真实状态,正是它将地位从待决状态变为积极状态——别无其他。

Status: re-reads the zone · moves status · updates the object

```javascript
await domain.check();

if (domain.status === "active") {
  // The registrar points here. The zone is live.
}
```

## 唯一移动状态 {#only-way}

> **自己没有检查**
>
> 一小时前设置命名器的客户仍然在等待某个人拨打该名称。 显示域名状态的界面应该提供检查,或者在页面打开时运行。

## 变化需要时间才能看得见 {#propagation}

登记员的变更并非随处而来,客户存取支票后立即进行的支票通常仍然会说未结,这是正确的,而不是失败,再查一次而不是结束。

## 更新对象 {#updates}

`status`, `dns` 其余的则由回来的东西取代, 同样的事例也返回—— 所以你认为参考文件是最新的。

## 也让邮件证人更清新 {#mail}

`dns` 是一个主机主机, [mail.status()](/zh/sdk/ref/domain/mail/status) 是一个较窄的调用。

- [migration()](/zh/sdk/ref/domain/migration): 安全换位了吗?
- [属性](/zh/sdk/ref/domain/properties): 田野意味着什么?

```python
domain.check()

if domain.status == "active":
    pass  # The registrar points here. The zone is live.
```
