# SCP::Dns::Record

LLMS index: [llms.txt](https://docs.e.samsungsdscloud.com/en/templatereference/networking/dns/llms.txt)

---

```
SCP::Dns::Record
```





## Description
A DNS record that maps a domain name to data such as an IP address within a hosted zone. DNS queries for the domain are answered according to the record type and data.

## Version
`1.4.0`

## Syntax

To declare this entity in your Infrastructure Builder template, use the following syntax:

**JSON**
```json
{
  "Type" : "SCP::Dns::Record",
  "Properties" : {
    "HostedZoneId" : "String",
    "Name" : "String",
    "Type" : "String",
    "Records" : [String],
    "Ttl" : "Integer",
    "Description" : "String"
  }
}

```

**YAML**
```yaml
Type: SCP::Dns::Record
Properties:
  HostedZoneId: String
  Name: String
  Type: String
  Records: [String]
  Ttl: Integer
  Description: String

```

## Properties


### HostedZoneId

The identifier of the hosted zone that contains this DNS record. - example : 3432012nfdksdf03ktrld9234lgfg

| Attribute | Value |
|-----------|-------|
| **Required** | Yes |
| **Type** | String |
| **Update requires** | Replacement |






### Name

The name for the DNS record to be created. - example : test.app

| Attribute | Value |
|-----------|-------|
| **Required** | Yes |
| **Type** | String |
| **Length constraints** | 1–253 |
| **Update requires** | Replacement |






### Type

The type of the DNS record to create (e.g., A, AAAA, CNAME, MX, TXT). - example : A

| Attribute | Value |
|-----------|-------|
| **Required** | Yes |
| **Type** | String |
| **Allowed values** | A \| AAAA \| CNAME \| TXT \| SPF \| MX |
| **Update requires** | Replacement |






### Records

The list of data values for this record. The format depends on the record type, such as an IP address for an A record. - example : ["12.34.45.67"]

| Attribute | Value |
|-----------|-------|
| **Required** | Yes |
| **Type** | Array of String |
| **List constraints** | 1–100 |
| **Update requires** | No interruption |






### Ttl

The Time-To-Live (TTL) value in seconds for the DNS record. - example : 3600

| Attribute | Value |
|-----------|-------|
| **Required** | No |
| **Type** | Integer |
| **Range** | 5–86400 |
| **Update requires** | No interruption |






### Description

A brief explanation or note about this DNS record. This helps identify the purpose or usage of the record. - example : This is description

| Attribute | Value |
|-----------|-------|
| **Required** | No |
| **Type** | String |
| **Length constraints** | Max: 50 |
| **Update requires** | No interruption |







## Return Values

### Ref

When you pass the logical ID of this resource to the `Ref` function, Ref returns the value of the **Id**.


### Fn::GetAtt

| Attribute | Description |
|-----------|-------------|
| **HostedZoneId** | The identifier of the hosted zone that contains this DNS record. - example : 3432012nfdksdf03ktrld9234lgfg |
| **Name** | The name for the DNS record to be created. - example : test.app |
| **Type** | The type of the DNS record to create (e.g., A, AAAA, CNAME, MX, TXT). - example : A |
| **Records** | The list of data values for this record. The format depends on the record type, such as an IP address for an A record. - example : ["12.34.45.67"] |
| **Ttl** | The Time-To-Live (TTL) value in seconds for the DNS record. - example : 3600 |
| **Description** | A brief explanation or note about this DNS record. This helps identify the purpose or usage of the record. - example : This is description |
| **Action** | The action performed on this DNS record. - example : NONE |
| **ProjectId** | The project identifier associated with the DNS record. - example : 003dffc50eb123a1cbf4f2e5c71d4f15 |
| **Status** | The current status of the DNS record. - example : ACTIVE |
| **UpdatedAt** | The timestamp when the resource was last updated, in ISO 8601 format. - example : 2026-02-09T08:00:40Z |
| **Version** | The version of the DNS record. - example : 1 |
| **ZoneId** | The identifier of the zone that contains this record. - example : 3432012nfdksdf03ktrld9234lgfg |
| **ZoneName** | The name of the zone that contains this record. - example : my-zone.com |

---

Section pages:

- [Links](/en/templatereference/networking/dns/scp_dns_record/links/index.md)
