dns__CreatePublicZone
Create a public DNS zone to host domain records, with optional TTL, admin email, tags, and enterprise project settings. Use it to set up authoritative DNS for a domain.
Instructions
[DNS] 创建公网域名。
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"name": "<name>"
},
"name": "dns__CreatePublicZone"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ttl | No | 用于填写默认生成的SOA记录中有效缓存时间,以秒为单位。 | |
| name | Yes | 域名。 | |
| tags | No | 资源标签。 | |
| No | 管理该域名的管理员邮箱,用于生成该域名的SOA记录。 | ||
| zone_type | No | 域名类型。取值:public。 | |
| description | No | 描述。 | |
| enterprise_project_id | No | 域名关联的企业项目ID,长度不超过36个字符。默认值为0。 |