Attach service DNS record
attach_service_dns_recordPoint a DNS name at a service by creating an A/AAAA/CNAME record in an owned forward DNS zone 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.
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 |