# domain.records

Canonical URL: https://developers.iagenify.com/zh/sdk/workflows/steps/domain-records/
Language: zh

`type: "domain.records"`

在一个域域中的写 DNS 区域。它需要人类的上游一步,NS的记录被彻底拒绝。

Status: needs approval upstream · set or remove · NS refused

> **人类需要上上上下下**
>
> 这样做在账户之外, 并且没有人可以问 。 定义在您保存时被拒绝, 除非人类一步步坐到通往此路径的路上 。

| Name | Type | Requirement | Description |
| --- | --- | --- | --- |
| `domain` | string | 必填 | 哪个域 。 |
| `action` | string | 必填 | `set` 或 `remove`. |
| `type` | string |  | 需要 `set`. **`NS` 被拒绝。** |
| `name` | string |  | 需要 `set`与该区相对。 |
| `content` | string |  | 需要 `set`. |
| `record` | string |  | 需要 `remove`. |

```javascript
{ id: "point", type: "domain.records", config: {
    domain: "example.com", action: "set",
    type: "CNAME", name: "docs", content: "{{steps.host.output.url}}" } }
```

## NSNS被拒绝 {#ns}

> **将一个名字下放出去的记录 是子域接管**
>
> 完全不接受该类型, 保存时不接受。 工作流程中的任何一种使用方式都无法合法地超过非法的流程。

## 为什么一个错误的记录是两次停电 {#why-approval}

寄件主机错误的邮件记录阻止邮件抵达,没有出现任何破损;地址记录移动,也阻止网站,也没有前一版本可以恢复,这就是为什么没有模式,没有触发器,没有个人打开它的原因。

## 输出 {#output}

```javascript
{{steps.point.output.id}}       // the record
{{steps.point.output.type}}
{{steps.point.output.content}}
```

## 记录不提供名称服务 {#serving}

服务平台也必须接受名称, 或其边缘拒绝连接。 对于主机 IaGenify,将域名附加到主机上,而不是手写记录。

- [人 人 人 人 人 人 人 人 人 人 人 人 人 人 人 人 人 人 人 人 人 人 人 人 人 人 人 人 人 人 人 人 人 人 人 人 人 人 人 人 人 人 人 人 人 人 人 人 人 人 人 人 人 人 人 人 人 人 人 人 人 人 人 人 人 人 人 人 人 人 人 人 人 人 人 人 人 人 人 人 人 人 人 人 人 人 人 人 人 人 人 人 人 人 人 人 人 人 人 人 人 人 人 人 人 人 人 人 人 人 人 人 人 人 人 人 人 人 人 人 人 人 人 人 人 人 人 人](/zh/sdk/workflows/steps/human): 这三个要求获得批准。
- [records.set()](/zh/sdk/ref/domain/records/set): 通过代码。
- [工作流步骤](/zh/sdk/workflows/steps): 全部 23 种类型。

```python
{"id": "point", "type": "domain.records", "config": {
    "domain": "example.com", "action": "set",
    "type": "CNAME", "name": "docs", "content": "{{steps.host.output.url}}"}}
```

```python
"{{steps.point.output.id}}"       # the record
"{{steps.point.output.type}}"
"{{steps.point.output.content}}"
```
