Domains and DNS API Reference
Validated on 19 Jun 2018 • Last edited on 23 Mar 2026
Adding a domain you own to your DigitalOcean account lets you manage the domain’s DNS records with the control panel and API. Domains you manage on DigitalOcean integrate with DigitalOcean Load Balancers and Spaces to streamline automatic SSL certificate management.
The Domains and DNS API endpoints are organized into the following groups:
- Domains (4 endpoints): Domain resources are domain names that you have purchased from a domain name registrar that you are managing through the DigitalOcean DNS interface.
- Domain Records (6 endpoints): Domain record resources are used to set or retrieve information about the individual DNS records configured for a domain. This allows you to build and manage DNS zone files by adding and modifying individual records for a domain.