---
title: Create a new DNS record
canonical: https://openvpn.net/cloud-docs/developer/cloudconnexa-api-v1-0/dns-record/create-a-new-dns-record/
product: CloudConnexa Docs
---

# Create a new DNS record

`POST /api/v1/dns-records`

**Create a new DNS record.**

## Body parameter

```json
{
  "domain": "string",
  "description": "string",
  "ipv4Addresses": [
    "string"
  ],
  "ipv6Addresses": [
    "string"
  ]
}
```

## Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| body | body | [DnsRecordRequest](https://openvpn.net/cloud-docs/developer/cloudconnexa-api-v1-0/schemas/dnsrecordrequest.md) | true | none |
| » domain | body | string | false | none |
| » description | body | string | false | none |
| » ipv4Addresses | body | \[string\] | false | none |
| » ipv6Addresses | body | \[string\] | false | none |

## Responses

| Status | Meaning | Description | Schema |
| --- | --- | --- | --- |
| 201 | [Created](https://tools.ietf.org/html/rfc7231#section-6.3.2) | Created | [DnsRecordResponse](https://openvpn.net/cloud-docs/developer/cloudconnexa-api-v1-0/schemas/dnsrecordresponse.md) |

To perform this operation, you must be authenticated by means of one of the following methods: oauth

---

Prev: [Get page of existing DNS records](https://openvpn.net/cloud-docs/developer/cloudconnexa-api-v1-0/dns-record/get-page-of-existing-dns-records.md)
Next: [Sessions](https://openvpn.net/cloud-docs/developer/cloudconnexa-api-v1-0/sessions.md)
Index: https://openvpn.net/cloud-docs/llms.txt
