When you use DirectAdmin in combination with our nameservers, you can significantly simplify the process of managing DKIM records and _acme challenge records (for obtaining SSL certificates). This article will walk you through step-by-step how to automatically push those records to our nameservers, allowing a seamless integration for your web management.
What do you need?
- Log in to your account dashboard
- Go to "Account data"
- Scroll down and click on "+ new..." to add an extra user
- Complete the required contact fields, choose a secure password and select the option that this is an API user
After confirming, you'll be shown the username (UID), which you'll need later
Send us an email with the IP address from which the API requests Download het script van https://cdn.bnamed.net/files/dns_write_post.sh.zip en pak het uit.
- Download the script from https://cdn.bnamed.net/files/dns_write_post.sh.zip and extract it
- Place the script in your DirectAdmin installation under the scripts/custom/ folder
- Open the script in the text editor and adjust the UID and Password values at the top with your own information
Run the following command in your terminal or via SSH:
chmod +x dns_write_post.sh
This will make the script executable, allowing it to be used to make changes
Result
After you've completed these steps; both DKIM and _acme-challenge records will be automatically pushed to our nameservers when DirectAdmin makes DNS changes.