The easyDNS API enables powerful interaction with your easyDNS domain services, allowing for automated domain management tasks. It supports operations like updating DNS records, managing domain registrations, and checking domain availability, all through a programmatic interface. Leveraging the easyDNS API within Pipedream, you can create automated workflows that respond to events from a multitude of services, maintain domain health, and streamline your domain operations.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
easydns: {
type: "app",
app: "easydns",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://rest.easydns.net/user`,
headers: {
"Accept": `application/json`,
},
auth: {
username: `${this.easydns.$auth.Token}`,
password: `${this.easydns.$auth.Key}`,
},
})
},
})
Automated DNS Record Updates: Set up a Pipedream workflow that listens for webhook notifications from your deployment service (like GitHub Actions or Jenkins). Whenever a new version of your app is deployed, the workflow triggers an easyDNS API call to update the A or CNAME record to point to the new server's IP address.
Domain Renewal Reminders: Create a workflow that periodically checks the expiration dates of your domains through the easyDNS API. If any domain is nearing expiration, the workflow sends a reminder email using an email service like SendGrid, ensuring that you never lose access to your critical domain names.
Dynamic DNS for Home Networks: If you have a home server with a dynamic IP, set up a workflow that checks your current public IP at set intervals using an IP check service. If a change is detected, the workflow makes an API request to easyDNS to update your DNS record, keeping your home server accessible even with an ever-changing IP address.
easyDNS uses API keys for authentication. When you connect your easyDNS account, Pipedream securely stores the keys so you can easily authenticate to easyDNS APIs in both code and no-code steps.