Is there way to add domain DNS record with script from custom cpanel ?

December 3, 2015 2.7k views
Ubuntu VPN PHP DNS Configuration Management

Hi I am using a Vesta Cpanel and i have to add DNS record manually to the droplet is there any way i can add/update these DNS records with script ? i have to update DNS record from Networking>DNS each time when i have to add/remove subdomain/domain from cpanel

3 Answers

Yes. We provide an API that will allow you to manage DNS entries.

There are a lot of libraries available for various languages that will assist in creating a script to meet your needs.

Have another answer? Share your knowledge.