Report this

What is the reason for this report?

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

Posted on December 3, 2015

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



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

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.

no clue

please try Github

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.