# DnsRecord

DNS record the merchant must add at their DNS provider to validate or route the custom domain.

```
type DnsRecord {

  name: String

  type: String

  value: String

}
```

### Fields[​](#fields "Direct link to Fields")

#### [`DnsRecord.name`](#name) ● [`String`](https://docs.monei.com/apis/graphql/types/scalars/string/.md) scalar[​](#name "Direct link to name")

Fully qualified host/name of the record (e.g. `_a1b2c3.pay.example.com` or `pay.example.com`).

#### [`DnsRecord.type`](#type) ● [`String`](https://docs.monei.com/apis/graphql/types/scalars/string/.md) scalar[​](#type "Direct link to type")

Record type. Currently always `CNAME`.

#### [`DnsRecord.value`](#value) ● [`String`](https://docs.monei.com/apis/graphql/types/scalars/string/.md) scalar[​](#value "Direct link to value")

Value the record must point to (validation token or routing hostname).

### Member Of[​](#member-of "Direct link to Member Of")

[`CustomDomainConfig`](https://docs.monei.com/apis/graphql/types/objects/custom-domain-config/.md) object
