# 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>](https://docs.ionos.com/sections-test/guides/network-services/cloud-dns/dcd-how-tos/public-zone/primary-zone/create-primary-zone).
* 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>](https://docs.ionos.com/sections-test/guides/network-services/cloud-dns/dcd-how-tos/set-user-privileges) or via the [<mark style="color:blue;">API</mark>](https://docs.ionos.com/sections-test/guides/network-services/cloud-dns/api-how-tos/set-user-privileges-api).
  {% 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](https://1737632334-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MifAzdGvKLDTtvJP8sm%2Fuploads%2Fgit-blob-85b510ea4adb54496925ce3dbaebb38f8505ebfe%2Fzones-overview.png?alt=media)

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](https://1737632334-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MifAzdGvKLDTtvJP8sm%2Fuploads%2Fgit-blob-122b661ae3113405edca82ff8153686e1a1b65f4%2Fcreate-record-properties.png?alt=media)

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

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