# Create DNS Records

{% hint style="info" %}
**Prerequisites:**

* A primary zone is mandatory to create a record. For more information, see [<mark style="color:blue;">Create Primary Zones</mark>](/cloud/network-services/cloud-dns/dcd-how-tos/public-zone/primary-zone/create-primary-zone.md).
* Only contract administrators, owners, and users with **Access and manage DNS** privilege can create and manage primary and secondary zones and records. You can set user privileges in the [<mark style="color:blue;">DCD</mark>](/cloud/network-services/cloud-dns/dcd-how-tos/set-user-privileges.md) or via the [<mark style="color:blue;">API</mark>](/cloud/network-services/cloud-dns/api-how-tos/set-user-privileges-api.md).
  {% endhint %}

To create a record, follow these steps:

1\. In the **DCD**, go to **Menu** > **Network Services** > **Cloud DNS** > **Public zones** tab.

2\. Select **Primary Zones** from the drop-down list.

3\. Select the appropriate primary zone in the **DNS ZONES** column to create records. Alternatively, click **Details & Records** in the **ACTIONS** column.

![Zone selection](/files/TM9e6eTrj91n8SfQCYo0)

4\. Click **Create record** in the **Details & Records** window.

5\. Enter the following details in the **Create Record** window:

* **Enabled/Disabled:** Set it to either **Enabled** (by default) or **Disabled**.
* **Name:** Enter an appropriate name for your DNS record. Leaving the name field empty will result in the creation of an Apex record. You can also provide `*` to create a wildcard DNS record.
* **TTL:** Enter an appropriate Time-To-Live (TTL) setting in seconds for your DNS record. The default value is 3600 seconds.
* **Type:** Select one of the following record types: `A`, `AAAA`, `MX`, `CNAME`, `TXT`, `NS`, `SRV`, `ALIAS`, `CAA`, `CERT`, `DS`, `SOA`, `HTTPS`, `LOC`, `OPENPGPKEY`, `RP`, `SMIMEA`, `SSHFP`, `SVCB`, `TLSA`, and `URI`.
* **Content:** Enter the content appropriate to the selected record type.
* **Preview:** Ensure that the details of the record to be created are accurate.&#x20;

![Define record properties](/files/owyFcN0c9bToMG9i6hNJ)

6\. Click **Save** to create the DNS record.

{% hint style="success" %}
**Result:** Your DNS record is now created.
{% endhint %}


---

# Agent Instructions: 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:

```
GET https://docs.ionos.com/cloud/network-services/cloud-dns/dcd-how-tos/public-zone/primary-zone/create-dns-records.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
