Update DNS Record
kinsta.dns.records.updateUpdate existing DNS records for a domain by specifying record type, name, TTL, and adding or removing resource records.
Instructions
Update an existing DNS record for a domain.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| domain_id | Yes | The domain ID containing the record | |
| type | Yes | DNS record type (e.g. A, AAAA, CNAME, MX, TXT, SRV) | |
| name | Yes | DNS record name to update | |
| ttl | No | New TTL in seconds (minimum 300) | |
| new_resource_records | No | New resource records to add | |
| removed_resource_records | No | Resource records to remove |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||