DO Ideas 2

Add an NS record type to the "new record" API call

In /domains/[domain_id]/records/new, you don't have the option to add an NS record through the API, even though you have that option through the control panel on the website. Trying to use record_type=ns gives "Record type is not included in the list".

I sometimes need to add NS records to a zone to redirect queries for subdomains to other DNS servers, and would really like to be able to automate the task.

  • Tom
  • Sep 11 2018
  • Shipped
  • Sep 11, 2018

    Admin Response

    We've beta launched our new v2.0 of the APi which includes the ability to add and modify NS records. Please check out the documentation here: https://developers.digitalocean.com/#domain-records Thanks!
  • Attach files