dns__CreatePrivateZone
Create a private DNS zone and associate it with a VPC to enable internal domain name resolution in Huawei Cloud.
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>",
"router": "<router>",
"zone_type": "<zone_type>"
},
"name": "dns__CreatePrivateZone"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ttl | No | 用于填写默认生成的SOA记录中有效缓存时间,以秒为单位。 | |
| name | Yes | 待创建的域名。 | |
| tags | No | 资源标签。 | |
| No | 管理该域名的管理员邮箱,用于生成该域名的SOA记录。 | ||
| router | Yes | ||
| zone_type | Yes | 域名类型。取值:private。 | |
| description | No | 域名的描述信息。 | |
| proxy_pattern | No | 内网域名的子域名递归解析代理模式。 | |
| enterprise_project_id | No | 域名关联的企业项目ID,长度不超过36个字符。默认值为0。 |