DNS_updateDNSRecordsV1
Modify domain DNS configuration by updating or replacing existing records. Choose to overwrite records or append new ones, adjusting TTL values and adding entries as needed.
Instructions
Update DNS records for the selected domain.
Using overwrite = true will replace existing records with the provided ones.
Otherwise existing records will be updated and new records will be added.
Use this endpoint to modify domain DNS configuration.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| domain | Yes | Domain name | |
| overwrite | No | If `true`, resource records (RRs) matching name and type will be deleted and new RRs will be created, otherwise resource records' ttl's are updated and new records are appended. If no matching RRs are found, they are created. | |
| zone | Yes | zone parameter |
Implementation Reference
- types.d.ts:396-412 (schema)TypeScript interface definition (schema) for the DNS_updateDNSRecordsV1 tool, specifying input parameters (domain: string, overwrite?: boolean, zone: array) and generic response."DNS_updateDNSRecordsV1": { params: { /** * Domain name */ domain: string; /** * If `true`, resource records (RRs) matching name and type will be deleted and new RRs will be created, otherwise resource records' ttl's are updated and new records are appended. If no matching RRs are found, they are created. */ overwrite?: boolean; /** * zone parameter */ zone: array; }; response: any; // Response structure will depend on the API };
- types.d.ts:388-412 (schema)Full schema including JSDoc description for DNS_updateDNSRecordsV1 tool./** * Update DNS records for the selected domain. Using `overwrite = true` will replace existing records with the provided ones. Otherwise existing records will be updated and new records will be added. Use this endpoint to modify domain DNS configuration. */ "DNS_updateDNSRecordsV1": { params: { /** * Domain name */ domain: string; /** * If `true`, resource records (RRs) matching name and type will be deleted and new RRs will be created, otherwise resource records' ttl's are updated and new records are appended. If no matching RRs are found, they are created. */ overwrite?: boolean; /** * zone parameter */ zone: array; }; response: any; // Response structure will depend on the API };