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

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 comment has been deleted

Submit an 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.

please try Github

no clue

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.