Actions5
- Records Actions
Records → Update
AI-generatedOverview
This node interacts with the ClouDns API to update DNS records for a specified domain. It allows users to modify existing DNS records by specifying the record ID, domain name, record type, record value, TTL, and various additional optional fields. This is useful for managing DNS settings programmatically, such as updating IP addresses, mail servers, or other DNS entries without manual intervention in the DNS provider's dashboard.
Use Case Examples
- Updating an A record to point to a new IP address for a domain.
- Changing the TTL of an MX record to optimize email delivery.
- Modifying a CNAME record to redirect a subdomain to a new target.
Properties
| Name | Meaning |
|---|---|
| Record ID | The unique identifier of the DNS record to update. |
| Domain Name | The domain or reverse zone name where the DNS record exists. |
| Record Type | The type of DNS record to update, such as A, AAAA, MX, CNAME, TXT, etc. |
| Record | The new value for the DNS record, e.g., an IP address or hostname. |
| TTL | Time to live for the DNS record, controlling how long it is cached by DNS resolvers. |
| Additional Fields | Optional parameters to further customize the DNS record, such as host, priority, weight, port, frame settings for web redirects, mail for RP records, SSHFP algorithm details, status, GeoDNS location, CAA flags and values, TLSA settings, key tags, digest types, NAPTR record parameters, and certificate details. |
| Simplify Output | Whether to simplify the returned data structure for easier consumption. |
Output
JSON
success- Indicates if the update operation was successful.status- Status of the API response, e.g., 'Failed' or success status.statusDescription- Description of the status or error message if the operation failed.value- Numeric or other value returned by the API, if applicable.
Dependencies
- ClouDns API
Troubleshooting
- Ensure the provided Record ID exists and is correct; otherwise, the update will fail.
- Verify that the domain name and record type match the existing DNS record to avoid mismatches.
- Check API credentials and authentication tokens to ensure they are valid and have sufficient permissions.
- If the API returns a 'Failed' status, review the statusDescription for specific error details.
- Network connectivity issues can prevent the node from reaching the ClouDns API endpoint.
Links
- ClouDns API Documentation - Official API documentation for managing DNS records with ClouDns.
