# DNS

DNS Management is an optional capability. Your DNS management does not need to be done within Reblaze, but it can be.&#x20;

Reblaze provide a full DNS service, based on[ AWS Route 53](https://aws.amazon.com/route53/). Reblaze also supports DNS on other cloud platforms, but they are not yet supported natively within the Reblaze interface. If you need this capability within your deployment, [contact support for assistance](https://waap.docs.link11.com/v2.18/support).

### Motivation

Many site administrators use their domain registrars as their DNS providers, but this is often a poor choice. In general, domain registrars do not place a high priority on DNS security (since DNS management is not a primary part of their business model), and attackers frequently target their DNS servers. A successful DNS poisoning attack can result in your site getting hijacked.

Managing your DNS through a secure platform like Reblaze is a better choice. This ensures your full stack is protected—even the DNS layer.

A full explanation of DNS setup is beyond the scope of this Manual. The discussion below is an overview of Reblaze's capabilities and interface. Please [contact support](https://waap.docs.link11.com/v2.18/support) if you need assistance for your particular situation. &#x20;

{% hint style="info" %}
Related video: [DNS Training](https://waap.docs.link11.com/v2.18/using-the-product/how-do-i.../video-tutorials/dns-training)
{% endhint %}

## Scope

You can manage millions of DNS zones and records using the Reblaze interface.

![](https://1443104804-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LuRghgerfT6t9aVOOha%2F-MEUEeLZFkZ-G48MNTsa%2F-ME_fnho1tus51xpaibV%2FDNS.png?alt=media\&token=4fbc9507-85dc-435a-8ae3-9203b066af5f)

The DNS Management feature of Reblaze is for both external and internal DNS administration. Internally, Reblaze maintains a special name for every planet (planetname.d1.rbzdns.com), and every domain protected by Reblaze is mapped to an entry in this domain. This system can also be used for domains accessible externally.

## Administration

To display existing records, a "search" feature is provided at the upper left.&#x20;

![Search Box](https://1443104804-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LuRghgerfT6t9aVOOha%2F-LvaFsqZooXNljqrTQHf%2F-LvaNCIf4716_YgKBQfA%2Fimage.png?alt=media\&token=d7e04e8e-d691-4e33-9463-8f84e75740e5)

This will control the DNS entries being displayed, by filtering them according to the search value and selected record type.&#x20;

To add a new DNS entry, click on the "New" button. The following dialog is displayed:

![](https://1443104804-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LuRghgerfT6t9aVOOha%2F-MEUEeLZFkZ-G48MNTsa%2F-ME_h8BkMa6as9zj7BE8%2FDNS%20Add%20New.png?alt=media\&token=d52dd825-443b-431f-b45b-76b3ae0695ab)

Once a record has been created, it can be deleted (via the trash icon shown to the right of its entry in the list) or edited (via the blue edit icon shown to the right of its entry in the list).&#x20;

### Supported Record Types <a href="#aformat" id="aformat"></a>

Reblaze supports the following types of DNS records:&#x20;

| Record Type | Description                                                            |
| ----------- | ---------------------------------------------------------------------- |
| A           | Address record                                                         |
| AAAA        | IPv6 address record                                                    |
| CNAME       | Canonical name record                                                  |
| MX          | Mail exchange record                                                   |
| NS          | Name server record                                                     |
| PTR         | PTR resource record                                                    |
| SOA         | Start of \[a zone of] authority record                                 |
| SPF         | Sender policy framework (now discontinued, as of RFC 7208)             |
| SRV         | Service locator                                                        |
| TXT         | Text record                                                            |
| ALIAS CNAME | Alternative to CNAME that can coexist with other records on that name. |
| ALIAS A     | Alternative for an A record                                            |

Expected formats for the respective values are given below.

### A Record Type <a href="#aformat" id="aformat"></a>

The value for an A record is an IPv4 address in dotted decimal notation.

Example:&#x20;

`example: 192.150.2.1`

### AAAA Record Type <a href="#aformat" id="aformat"></a>

The value represents an IPv6 (128bit) address in a colon separated notation.&#x20;

Example:&#x20;

`20541:0da8:85a3:0:0:8a2e:0370:7334`

### CNAME Record Type <a href="#aformat" id="aformat"></a>

A CNAME value is a domain name.&#x20;

Example:&#x20;

`www.sample.com`

### MX Record Type <a href="#aformat" id="aformat"></a>

Each record includes a priority (integer) and an email server domain name. It is possible to add multiple records.&#x20;

Example:&#x20;

`10 mail1.sample.com`

`20 mail2.sample.com`

### NS Record Type <a href="#aformat" id="aformat"></a>

Delegates a DNS zone to use the given authoritative name servers. (It is possible to include multiple name servers.)

Example:&#x20;

`ns1.amazon.com`&#x20;

`ns2.amazon.org`&#x20;

`ns3.amazon.net`&#x20;

`ns4.amazon.co.uk`

### TXT Record&#x20;

Includes a text record. (Enclose the text in quotation marks. Multiple entries are allowed.)

Example:&#x20;

`"test1"`

`"test2"`&#x20;

### SPF Record&#x20;

SPF records were formerly used to verify the identity of the sender of email messages. It's now deprecated, and a TXT record should be used instead.&#x20;

Example:&#x20;

`"v=spf1 ip4:192.168.0.1/16-all"`

### SRV Record&#x20;

A generalized service location record, used for newer protocols instead of creating protocol-specific records such as MX.

The syntax is based on the following: \[Priority]\[Weight]\[Port]\[Domain Name]

Example:&#x20;

`2 12 5050 sip-server.example.com`

`3  15 5060 network.example.com`&#x20;

### **PTR Record**

Pointer to a canonical name. Unlike a CNAME, DNS processing stops and the name is returned.

Example:&#x20;

`www.example.com`

|   |
| - |
