API Commands for setting up DNS Cluster
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'
Replies have been locked on this page!