> For the complete documentation index, see [llms.txt](https://docs.ionos.com/cloud/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.ionos.com/cloud/~/revisions/AMiYziCllTKB2y2lmONY/network-services/cloud-dns/api-how-tos.md).

# API How-Tos

The [<mark style="color:blue;">Cloud DNS API</mark>](https://api.ionos.com/docs/dns/v1) lets you manage DNS zones and records programmatically using conventional HTTP requests.

{% hint style="info" %}
**Prerequisite**: To start using the Cloud DNS API, you need a domain name. If you do not have one already, get a domain name and register it with a domain registrar.
{% endhint %}

On successful registration of the domain name, you can now assign more users with the privilege to manage DNS zones and records via the API. By default, only contract owners and administrators have permission to use the Cloud DNS API.

To set user privileges via the API, see [<mark style="color:blue;">Set User Privileges via the API</mark>](/cloud/~/revisions/AMiYziCllTKB2y2lmONY/network-services/cloud-dns/api-how-tos/set-user-privileges-api.md).

On assigning user privileges, continue with the following API How-Tos:

* [<mark style="color:blue;">Create a DNS Zone</mark>](/cloud/~/revisions/AMiYziCllTKB2y2lmONY/network-services/cloud-dns/api-how-tos/create-dns-zone.md)
* [<mark style="color:blue;">Create a DNS Record</mark>](/cloud/~/revisions/AMiYziCllTKB2y2lmONY/network-services/cloud-dns/api-how-tos/create-dns-record.md)
* [<mark style="color:blue;">Connect Domain Name to Cloud DNS</mark>](/cloud/~/revisions/AMiYziCllTKB2y2lmONY/network-services/cloud-dns/api-how-tos/connect-domain-name-to-cloud-dns.md)
* [<mark style="color:blue;">Create and manage a Reverse DNS record</mark>](/cloud/~/revisions/AMiYziCllTKB2y2lmONY/network-services/cloud-dns/api-how-tos/create-and-manage-reverse-dns.md)

If you already have a primary zone hosted elsewhere, you can [<mark style="color:blue;">Create a Secondary DNS Zone</mark>](/cloud/~/revisions/AMiYziCllTKB2y2lmONY/network-services/cloud-dns/api-how-tos/create-secondary-dns-zone.md) to improve reliability, redundancy, load balancing, and performance.

Additionally, try the following features for your primary zones hosted in Cloud DNS:

* [<mark style="color:blue;">Perform PUT Request for Non-Existing Records</mark>](/cloud/~/revisions/AMiYziCllTKB2y2lmONY/network-services/cloud-dns/api-how-tos/perform-put-request.md)
* [<mark style="color:blue;">Import a DNS Zone</mark>](/cloud/~/revisions/AMiYziCllTKB2y2lmONY/network-services/cloud-dns/api-how-tos/import-dns-zone.md)
* [<mark style="color:blue;">Export a DNS Zone</mark>](/cloud/~/revisions/AMiYziCllTKB2y2lmONY/network-services/cloud-dns/api-how-tos/export-dns-zone.md)
* [<mark style="color:blue;">Create a Secondary DNS Zone</mark>](/cloud/~/revisions/AMiYziCllTKB2y2lmONY/network-services/cloud-dns/api-how-tos/create-secondary-dns-zone.md)
* [<mark style="color:blue;">Manage DNSSEC Signing Keys</mark>](/cloud/~/revisions/AMiYziCllTKB2y2lmONY/network-services/cloud-dns/api-how-tos/manage-dnssec-signing-keys.md)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.ionos.com/cloud/~/revisions/AMiYziCllTKB2y2lmONY/network-services/cloud-dns/api-how-tos.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
