Actions28
- Domain Actions
- DNS Record Actions
- SSL Actions
- User Actions
Overview
This node integrates with the Namecheap API to manage DNS records for domains. Specifically, the "Set Default" operation under the "DNS Record" resource resets the DNS settings of a specified domain to Namecheap's default DNS configuration. This is useful when you want to revert any custom DNS changes and restore the domain’s DNS to its original state managed by Namecheap.
Common scenarios include:
- Recovering from incorrect or problematic custom DNS configurations.
- Quickly switching back to Namecheap-managed DNS after testing custom DNS setups.
- Simplifying DNS management by using default DNS settings provided by Namecheap.
Example: You have a domain "example.com" with custom DNS records but want to reset it to Namecheap’s default DNS servers. Using this node operation, you provide the domain name, and the node will set the DNS back to default.
Properties
| Name | Meaning |
|---|---|
| Domain Name | The domain for which to reset DNS to default (e.g., "example.com"). |
Output
The node outputs a JSON object with the following structure:
{
"success": true,
"data": { /* response data from the API about the DNS reset operation */ }
}
success: A boolean indicating whether the operation was successful.data: Contains the detailed response from the Namecheap API confirming the DNS reset to default.
No binary data output is produced by this operation.
Dependencies
- Requires an active connection to the Namecheap API.
- The node must be configured with valid API authentication credentials (an API key or token) to authorize requests.
- Network access to Namecheap’s API endpoints is necessary.
Troubleshooting
Common issues:
- Invalid or missing domain name input will cause the operation to fail.
- Authentication errors if API credentials are incorrect or expired.
- Network connectivity problems preventing communication with Namecheap API.
- Attempting to reset DNS on a domain not registered or managed in the connected Namecheap account.
Error messages:
"The operation "setDefault" is not known for resource "dns"!"— indicates a misconfiguration or unsupported operation; ensure the correct resource and operation are selected.- API error responses related to authorization or domain validation will be passed through; verify credentials and domain ownership.
Resolution tips:
- Double-check the domain name spelling and availability in your Namecheap account.
- Verify that the API credentials are correctly set up and have sufficient permissions.
- Ensure stable internet connectivity.
- Use the node’s "continue on fail" option to handle errors gracefully during batch processing.
Links and References
- Namecheap API Documentation
- Namecheap DNS Management Overview
- n8n Documentation on Creating Custom Nodes