# Digital Ocean Domain Records API

**Canonical:** https://apis.io/apis/digital-ocean/digital-ocean-domain-records-api/  
**Provider:** Digital Ocean — https://apis.io/providers/digital-ocean/  
**Base URL:** https://api.digitalocean.com/v2  
**Documentation:** https://docs.digitalocean.com/reference/api/api-reference/

Digital Ocean Domain Records API is one of 37 APIs that [Digital Ocean](https://apis.io/providers/digital-ocean/) publishes on the [APIs.io](https://apis.io/) network, described by a machine-readable OpenAPI specification. Tagged areas include Domain Records. The published artifact set on APIs.io includes an OpenAPI specification and API documentation.

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. The [DigitalOcean DNS management interface](https://docs.digitalocean.com/products/networking/dns/) allows you to configure the following DNS records: Name | Description | ------|----------------------------------------------------------------------------------------------------------------------------------------------------| A | This record type is used to map an IPv4 address to a hostname. | AAAA | This record type is used to map an IPv6 address to a hostname. | CAA | As specified in RFC-6844, this record type can be used to restrict which certificate authorities are permitted to issue certificates for a domain. | CNAME | This record type defines an alias for your canonical hostname (the one defined by an A or AAAA record). | MX | This record type is used to define the mail exchanges used for the domain. | NS | This record type defines the name servers that are used for this zone. | TXT | This record type is used to associate a string of text with a hostname, primarily used for verification. | SRV | This record type specifies the location (hostname and port number) of servers for specific services. | SOA | This record type defines administrative information about the zone. Can only have ttl changed, cannot be deleted |

## Machine-readable artifacts (3)

- **OpenAPI** — https://raw.githubusercontent.com/api-evangelist/digital-ocean/refs/heads/main/openapi/digital-ocean-domain-records-api-openapi.yml
- **Documentation** — https://docs.digitalocean.com/reference/api/api-reference/
- **SourceCode** — https://github.com/digitalocean/openapi

## Other Digital Ocean APIs (12)

- [Digital Ocean 1-Click Applications API](https://apis.io/apis/digital-ocean/digital-ocean-1-click-applications-api/)
- [Digital Ocean Account API](https://apis.io/apis/digital-ocean/digital-ocean-account-api/)
- [Digital Ocean Actions API](https://apis.io/apis/digital-ocean/digital-ocean-actions-api/)
- [Digital Ocean Apps API](https://apis.io/apis/digital-ocean/digital-ocean-apps-api/)
- [Digital Ocean Billing API](https://apis.io/apis/digital-ocean/digital-ocean-billing-api/)
- [Digital Ocean Block Storage Actions API](https://apis.io/apis/digital-ocean/digital-ocean-block-storage-actions-api/)
- [Digital Ocean Block Storage API](https://apis.io/apis/digital-ocean/digital-ocean-block-storage-api/)
- [Digital Ocean CDN Endpoints API](https://apis.io/apis/digital-ocean/digital-ocean-cdn-endpoints-api/)
- [Digital Ocean Certificates API](https://apis.io/apis/digital-ocean/digital-ocean-certificates-api/)
- [Digital Ocean Container Registry API](https://apis.io/apis/digital-ocean/digital-ocean-container-registry-api/)
- [Digital Ocean Databases API](https://apis.io/apis/digital-ocean/digital-ocean-databases-api/)
- [Digital Ocean Domains API](https://apis.io/apis/digital-ocean/digital-ocean-domains-api/)

## Tags

Domain Records

---

Profiled by [API Evangelist](https://apievangelist.com) and published on [APIs.io](https://apis.io/apis/digital-ocean/digital-ocean-domain-records-api/). The API's provider profile, Kin Score and agent-readiness rating are at https://apis.io/providers/digital-ocean/.
