Actions8
- Announcement List Actions
- DNS Management Actions
Overview
This node integrates with the Dreamhost API to manage DNS records, specifically allowing users to remove an A DNS record (or other types of DNS records) from a domain. It is useful for automating DNS management tasks such as cleaning up outdated or incorrect DNS entries without manually logging into the Dreamhost control panel.
Common scenarios include:
- Removing obsolete A records when migrating services.
- Automating DNS cleanup in CI/CD pipelines.
- Managing DNS programmatically for dynamic infrastructure setups.
For example, you can configure this node to remove an A record pointing to an old IP address from your domain, ensuring that DNS queries no longer resolve to that IP.
Properties
| Name | Meaning |
|---|---|
| Record | The domain name to which the DNS record belongs (e.g., example.com). |
| Type | The type of DNS record to remove. Options: A, AAAA, CNAME, NAPTR, NS, SRV, TXT. |
| Value | The value of the DNS record to remove (e.g., the IP address for an A record). |
| Output Format | The format in which the response data will be returned. Options: HTML, JSON, Perl, PHP, Tab, XML, YAML. |
Output
The node outputs the response from the Dreamhost API after attempting to remove the specified DNS record. The output is available in the json field and its structure depends on the API response format chosen by the user (default is JSON).
If binary data were involved (not applicable here), it would be summarized accordingly, but this node deals only with textual API responses.
Dependencies
- Requires an active Dreamhost API key credential configured in n8n to authenticate requests.
- Depends on the Dreamhost API endpoint at
https://api.dreamhost.com. - The node sends HTTP GET requests with query parameters specifying the DNS record details to remove.
Troubleshooting
Common issues:
- Incorrect domain name or record value may cause the API to fail to find and remove the record.
- Missing or invalid API credentials will result in authentication errors.
- Network connectivity problems can prevent reaching the Dreamhost API.
Error messages:
- Authentication errors typically indicate missing or invalid API keys; verify credentials in n8n settings.
- "Record not found" or similar messages mean the specified DNS record does not exist; double-check input values.
- Rate limiting or server errors from Dreamhost should be retried later or checked against Dreamhost status.