create_dns_record
Add a DNS record to a domain, supporting A, AAAA, ALIAS, CAA, CNAME, HTTPS, MX, SRV, TXT, NS types with TTL, priority, and SRV fields.
Instructions
Create a DNS record for a domain. For MX set mxPriority; for SRV pass the srv object.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| domain | Yes | Domain name. | |
| type | Yes | Record type. | |
| name | Yes | Subdomain/name ('' or '@' for the apex). | |
| value | No | Record value (e.g. IP, target, text). | |
| ttl | No | TTL in seconds. | |
| mxPriority | No | Priority for MX records. | |
| srv | No | SRV fields { priority, weight, port, target }. | |
| comment | No | ||
| teamId | No | Team ID to scope the request. Falls back to VERCEL_TEAM_ID when omitted. | |
| slug | No | Team slug to scope the request (alternative to teamId). |