Our features site is undergoing a refresh! Be sure to explore the revamped site and discover our latest product roadmap launching here on Monday, March 18th.

API Commands for setting up DNS Cluster

Todd T. shared this idea 14 months ago
Needs Review

There don't appear to be any API commands for configuring the DNS cluster on new cPanel installations, preventing me from automating this task. Could API commands be added to allow this? The following parameters would need to be implemented.

1. Remote cPanel & WHM DNS host
2. Remote server username
3. Remote server API token
4. DNS role

Possible example:

whmapi1 add_dns_remote_host \
host='ns1.foo.com' \
user='root' \
api_token='...' \
dns_role='Write-only'

Leave a Comment
 
Attach a file