Manage API Tokens - Manage DNS Records
# Initial Privileges - Basic Privileges
Manage DNS Records manage-dns-records
# DNS - Standard Privileges
Add DNS Zones create-dns
Remove DNS Zones kill-dns
Park DNS Zones park-dns
Edit DNS Zones edit-dns
We are testing our local script, but any time we trigger the script, we get our result message:
Testing WHM API for agent: cPanel
Listing Zones
No zones found on the WHM server.
WHM API test completed successfully!
Inside Nameserver Selection, we disable using PowerDNS or BIND, but inside DNS Zone Manager, when we open it, we see domain zones.
Did we need to enable Nameserver, or not?
How can we use the API Tokens functions?
Thank you,
-
Hey there! Can you past e the specific API call that you're executing so I can test that? Or are you simply calling https://api.docs.cpanel.net/openapi/whm/operation/listzones/ to get the list of zones from the server?
0
Please sign in to leave a comment.
Comments
1 comment