Attach service DNS record
attach_service_dns_recordCreates an A, AAAA, or CNAME record in an owned forward DNS zone to point a DNS name at a service using the service's IP.
Instructions
Point a DNS name at a service in one call: creates an A/AAAA/CNAME record in an owned forward DNS zone using the service's own IP (A/AAAA default to the service IP when ip is omitted; the ip, when given, must belong to the service). Not for secondary/suspended zones. For arbitrary record content use upsert_dns_record instead. Requires dns:write when using an API key.
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": {
"orderNo": "<orderNo>",
"zone_id": "<zone_id>",
"name": "<name>",
"type": "<type>"
},
"name": "attach_service_dns_record"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ip | No | Optional service IP for A/AAAA; defaults to the service's first matching IP | |
| ttl | No | TTL in seconds (default 120) | |
| name | Yes | Record name inside the zone, e.g. 'www' or '@' for the apex | |
| type | Yes | Record type | |
| target | No | CNAME target hostname (required when type=CNAME) | |
| orderNo | Yes | Tenant-owned service order number: 1-64 ASCII letters, digits or hyphens, e.g. VP12345 or VP12345-1 | |
| zone_id | Yes | Owned forward DNS zone ID from list_dns_zones |