-
Notifications
You must be signed in to change notification settings - Fork 0
/
ZoneEditor
326 lines (227 loc) · 21.1 KB
/
ZoneEditor
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
## Overview
The *Zone Editor* feature allows you to create, edit, and delete Domain Name System (DNS) zone records. DNS converts human-readable domain names (for example, `example.com`) to computer-readable IP addresses (for example, `192.0.0.1`). DNS relies on zone records that exist on your server to map domain names to IP addresses.
## Domains
By default, the *Zone Editor* interface displays a list of your domains and their DNS zone records. To filter the list, enter a name in the text box or select an available record type filter.
For each listed domain you can perform the following actions:
* *A Record* — Create a new [A record](#a). When you select this record type, a new window will appear. Enter a valid DNS zone name in the *Name* text box and a valid IPv4 address in the *Address* text box. Click *Add An A Record* to save your changes.
* *CNAME Record* — Create a new [CNAME](#cname) record. When you select this record type, a new window will appear. Enter a valid DNS zone name in the *Name* text box and a FQDN in the *CNAME* text box. Click *Add A CNAME Record* to save your changes.
* *MX Record* — Create a new [MX record](#mx). When you select this record type, a new window will appear. Enter the record's priority value in the *Priority* text box and a FQDN in the *Destination* text box. Click *Add An MX Record* to save your changes.
* *DNSSEC* — Manage the domain's [Domain Name System Security Extensions (DNSSEC)](#dnssec) records. When you select this record type, the system directs you to the [*DNSSEC*](#dnssec) interface.
* *Manage* — Add or edit additional domain records. When you click *Manage*, the system directs you to the [*Manage Zone*](#manage-zone) interface.
To refresh the list of domains, click the gear icon and select *Refresh List*.
## Manage Zone
The *Manage Zone* interface displays the DNS zone records for the selected domain. To filter the list, enter a name in the text box or select an available record type filter.
The record table contains the following information for each record:
* *Name* — The record's name.
* *TTL* — The record's Time to Live (TTL).
* *Type* — The [record's type](#dns-zone-record-types).
* *Record* — The record's information.
* *Actions* — The option to [edit](#edit-a-dns-zone-record) or delete the record.
You can also use this interface to:
* [Add](#add-a-dns-zone-record) or [edit](#edit-a-dns-zone-record) one or more DNS zone records.
* [Delete](#delete-a-dns-zone-record) a DNS zone record.
* [Reset the zone files](#reset-zone-files).
{{% callout type="warning" header="Important:" %}}
To access all available zone record types and records that the system automatically generated, your systems administrator must enable the following features in WHM's [*Feature Manager*](/whm/packages/feature-manager) interface (*WHM >> Home >> Packages >> Feature Manager*):
* *Zone Editor (A, CNAME)*
* *Zone Editor (AAAA, CAA, SRV, TXT)*
{{% /callout %}}
### Add a DNS zone record
To add a record, perform the following steps:
1. Click *Manage* for the domain that you want to modify. A new interface will appear.
2. Click *Add Record*. You can also click the arrow icon (![The Add Record arrow icon](/img/dns-zone-manager-arrowicon.png)) next to *Add Record* and select the [desired record type](#dns-zone-record-types) from the menu.
{{% callout type="info" header="Note:" %}}
To add multiple records, click *Add Record* multiple times or select the desired record types from the list. The system adds the new records to the top of the table.
{{% /callout %}}
3. Enter the record's information.
4. Click *Save Record* or *Save All Records*, or click *Cancel*.
### Edit a DNS zone record
To edit a record, perform the following steps:
1. Click *Manage* for the domain that you want to modify. A new interface will appear.
2. Click *Edit* next to the record or records that you want to edit.
3. Update the information in the text boxes.
{{% callout type="info" header="Note:" %}}
If you change an existing record's [*Type* value](#dns-zone-record-types), the system preserves the current record's data until you save your changes.
{{% /callout %}}
4. Click *Save Record* or *Save All Records* to save your changes, or click *Cancel*.
#### DNS zone record types
When you add or edit a DNS zone record, you can select from the following record types:
##### A
IPv4 Address Record — This record maps hostnames to IPv4 addresses. These records allow DNS servers to identify and locate your website and its various services on the internet. Without appropriate A records, your visitors cannot access your website, FTP site, or email accounts. You can set the following values:
* *Name* — A new or existing DNS zone name. When you enter a zone name, the system automatically appends the domain name to the zone record. For example, if you create the `user` zone, the system will add the `example.com.` domain information.
* *Address* — Enter the domain's IP address.
##### AAAA
IPv6 Address Record — This record is the same as an A record, but maps hostnames to IPv6 addresses.
##### CAA
Certificate Authority Authorization Record — This record controls which certificate authorities (CA) can issue SSL certificates for a domain.
{{% callout type="info" header="Note:" %}}
* If no CAA records exist for a domain, **all** CAs can issue certificates for that domain. If conflicting CAA records already exist, remove the existing CAA records or add one for the desired CA.
* MyDNS does **not** support this record type.
* The system stores these records in the [RFC 3597](https://tools.ietf.org/html/rfc3597) format.
{{% /callout %}}
You can set the following values:
* *Issuer Critical Flag* — Whether the CA will issue an SSL certificate if the CAA Resource Record contains unknown property tags. For more information about CAA record flags, read the [RFC 6844](https://tools.ietf.org/html/rfc6844) documentation.
* *0* — Non-critical. The CA will issue an SSL certificate if the CAA Resource Record contains unknown property tags.
* *1* — Critical. The CA will **not** issue an SSL certificate if the CAA Resource Record contains unknown property tags.
* *Tag* — The CAA record's property type:
* *issue* — Authorize a CA to issue a certificate for the domain.
* *issuewild* — Authorize a CA to issue a wildcard certificate for the domain.
* *iodef* — Specify a URL to which a CA may report policy violations.
* *Value* — The CA's domain, or the CA's URL if you select the *iodef* setting in the *Tag* section.
##### CNAME
Canonical Name Record — This record creates an alias for another domain name, which DNS resolves. This is useful, for example, if you point multiple CNAME records to a single [A record](#a) in order to simplify DNS maintenance. You can set the following values:
* *Name* — A new or existing DNS zone name. When you enter a zone name, the system automatically appends the domain name to the zone record. For example, if you create the `user` zone, the system will add the `example.com.` domain information.
* *Record* — Enter a fully-qualified domain name (FQDN). For example, the `example2.com` domain. You cannot point a CNAME record to an IP address.
##### DMARC
Domain-based Message Authentication, Reporting, and Conformance — This record indicates the action for a mail server to take when it receives an email from this domain, but that message fails Sender Policy Framework (SPF) and DomainKeys Identified Mail (DKIM) checks.
When you select this option, the system creates a [TXT record](#txt) with a default DMARC record. The system also displays a form that allows you to define the domain's DMARC *Policy* (*None*, *Quarantine*, or *Reject*), as well as the following optional parameters:
* *Subdomain Policy* — The action the mail server will take when it receives an email from the domain's subdomain. The server only takes this action if the email fails its SPF and DKIM checks.
* *None* — Do not take any action.
* *Quarantine* — Send spam email to a different folder on the account.
* *Reject* — Reject spam email.
* *DKIM Mode* — The DKIM level that the server enforces for the domain. An email must have a valid DKIM signature. The server will check a DKIM signature against the email's `From:` domain entry. You can set the following identifier alignment settings:
* *Relaxed* — Only the organizational domains must match. For example, an email from the `domain.example.com` subdomain of `example.com` would pass the DKIM check.
* *Strict* — The domains **must** match exactly. For example, the server will accept email from the `example.com` domain, but it would reject email from the `domain.example.com` subdomain.
* *SPF Mode* — The SPF level that the server will enforce for the domain. The server sending email must pass SPF authorization. The server checks the server sending an email with the SMTP `MAIL FROM` command. The server then checks the `MAIL FROM` domain entry against the email's `From:` domain entry. You can set the following identifier alignment settings:
* *Relaxed* — Only the organizational domains must match. For example, an email from the `domain.example.com` subdomain of `example.com` would pass the SPF check.
* *Strict* — The domains **must** match exactly. For example, the server will only accept email if the domain is `example.com`. It would reject an email from the `domain.example.com` domain.
* *Percentage* — The percentage of emails that you want the server to filter.
* *Generate Failure Reports When* — The error reporting policy between the sender and receiver's Mail Transfer Agents.
* *Report Format* — The format that the server uses to report an email's possible spam status.
* *Report Interval* — The amount of time, in seconds, that elapse between each aggregate email report. This parameter's value defaults to `86400`.
{{% callout type="info" header="Note:" %}}
This value does **not** include email failure messages.
{{% /callout %}}
* *Send Aggregate Mail Reports To* — A comma-separated list of [Uniform Resource Identifiers](https://en.wikipedia.org/wiki/Uniform_Resource_Identifier) (URIs) to which to send the aggregate email reports. If your URI includes a comma, you **must** URI-encode the comma. To add a size limit for the report, include an exclamation point, a number, and a file size unit to the end of the URI. For example: `mailto:[email protected]!50m`. You can specify the following file size units:
* `k` — Kilobytes.
* `m` — Megabytes.
* `g` — Gigabytes.
* `t` — Terabytes.
* *Send Failure Reports To* — A comma-separated list of URIs to which to send failure email reports.
##### MX
Mail Exchanger — This record identifies the servers that handle a domain's email. Changes that you make to this record control where the server delivers a domain's email. You can set the following values:
* *Priority* — Identifies the servers that handle a domain's email. This value for each MX record determines the order in which other mail servers will use the domain's mail server. A lower value indicates a higher priority level. A value of `0` indicates the highest priority level.
* *Destination* — The mail server. This must be a fully-qualified domain name (FQDN).
##### SRV
Service Record — This record provides data about available services on specific ports on your server. You can set the following values:
* *Priority* — The service record's priority value. A lower value indicates a higher priority level. A value of `0` indicates the highest priority level.
* *Weight* — This value ranks entries that share the same *Priority* value. For example, a record with a `0` priority level and an `8` weight value will rank lower than a record with a `0` priority level and `4` weight value.
* *Port* — The service's target port number.
* *Target* — The service's target hostname.
##### TXT
Text Record — This record contains text data for various services to read. For example, TXT records can specify data for SPF, DKIM, or DMARC email authentication. You can use WHM's [*Email Deliverability*](/cpanel/email/email-deliverability-in-cpanel) interface (*cPanel >> Home >> Email >> Email Deliverability*) to manage your server's SPF and DKIM records.
{{% callout type="warning" header="Important:" %}}
The *Record* text box will accept invalid data. Make **certain** you enter the correct record information.
{{% /callout %}}
### Delete a DNS zone record
To delete a record, perform the following steps:
1. Click *Manage* next to the domain you want to modify. A new interface will appear.
2. Click *Delete* next to the record that you want to remove.
3. Click *Continue* in the confirmation dialog box to delete the record, or click *Cancel*.
### Reset zone files
{{% callout type="warning" header="Important:"%}}
* This function erases any modifications that you made to your zone records. The system attempts to save the domain's TXT entries. We recommend that you record any changes that you want to save before you use this feature.
* To reset your DNS zone files, your systems administrator must enable the following features in WHM's [*Feature Manager*](/whm/packages/feature-manager) interface (*WHM >> Home >> Packages >> Feature Manager*):
* *Zone Editor (A, CNAME)*
* *Zone Editor (AAAA, CAA, SRV, TXT)*
{{% /callout %}}
To reset your DNS zone files to the defaults that your hosting provider specifies, perform the following steps:
1. Click *Manage* next to the domain that you want to reset. A new interface will appear.
2. Click *Actions* and select *Reset DNS Zone*.
3. Click *Continue* to reset your zone, or click *Cancel*.
## DNSSEC
The *DNSSEC* interface lets you manage your domain's DNSSEC keys. [DNSSEC](/knowledge-base/dns/dnssec/) can help to protect you from various forms of attack, such as spoofing or a [Man-in-the-Middle](/knowledge-base/general-systems-administration/man-in-the-middle-attacks/) attack. A DNS resolver will compare the DNS server's DNSKEY record to the Delegation Signer (DS) record at your domain's registrar. If the records match, then the DNS resolver knows that the record is valid.
DNSSEC uses digital signatures to strengthen DNS authentication. These digital signatures use public key cryptography to sign the DNS data. However, these digital signatures do **not** sign the DNS queries and responses.
{{% callout type="warning" header="Important:"%}}
If you transfer the account to another server, you **must** remove the DS records from the registrar before you transfer the domain. If you do not remove the old DS records from the registrar, the domains may produce DNS resolution issues due to invalid DNSSEC responses.
To transfer an account with DNSSEC-enabled domains, perform the following steps for each domain:
1. Remove the DS records from the registrar.
2. Wait for the changes to propagate. This may take up to 72 hours.
3. Perform the transfer.
4. Manually update the registrar with the new DS records.
{{% /callout %}}
### DNSSEC Keys table
{{% callout type="warning" header="Important:" %}}
If you deactivate or delete a DNSSEC key, you **must** remove the DS record at [your domain registrar](#domain-registrar-ds-records).
{{% /callout %}}
The *DNSSEC* interface displays a table that lists the following information:
* ![DNSSEC key expand arrow](/img/expandarrow.png) — Click the arrow icon to display the following details about the DNSSEC key:
* *Algorithm* — The key's [algorithm](https://en.wikipedia.org/wiki/Domain_Name_System_Security_Extensions#Algorithms).
* *Status* — Whether the key is active or inactive.
* *Activate* or *Deactivate* — Activate or deactivate the key. Deactivating a DNSSEC key will **not** delete it.
* *Delete* — Delete the key.
* *Public DNSKEY* — Display the public DNSKEY record. The [*Public DNSKEY*](#public-dnskey) interface will appear.
* *Key Tag* — An integer value that identifies the domain's DNSSEC record.
* *Key Type* — Whether the key is a Zone Signing Key (ZSK), Combined Signing Key (CSK), or Key Signing Key (KSK).
* *Algorithm* — The DNSSEC algorithm type that constructs the digest.
* *Created* — The key's creation date.
{{% callout type="info" header="Note:"%}}
The interface will display a recommendation for when you should rotate a DNSSEC key. For information, read our [How to Rotate a DNSSEC Key](/knowledge-base/dns/how-to-rotate-a-dnssec-key/) documentation.
{{% /callout %}}
You can also perform the following actions for each DNSSEC key:
* *View DS Records* — Display the domain's DS records. The [*DS Records*](#ds-records) interface will appear.
* *Export* — Export the domain's DNSSEC key. The [*Export*](#export-a-dnssec-key) interface will appear.
### Create Key
{{% callout type="warning" header="Important:"%}}
When you create a domain's DNSSEC key you **must** also configure a DS record with [your domain registrar](#domain-registrar-ds-records).
{{% /callout %}}
The *Create Key* function lets you create a new DNSSEC key. You can select whether to create a system-generated key or create a customized DNSSEC key:
#### Quick DNSSEC key creation
To quickly create a DNSSEC key, perform the following steps:
1. Click *Create Key*. A confirmation interface will appear.
2. Click *Create*. The *DS Records* interface will appear with the new DNSSEC key's details.
#### Custom DNSSEC key creation
If you want to create a customized key with a stronger algorithm, perform the following steps:
1. Click *Create*. A confirmation window will appear.
2. Click *Customize*. The *Generate* interface will appear.
3. Select the desired key setup for the DNSSEC key:
* *Classic* — Creates a ZSK and a KSK.
* *Simple* — Creates a CSK, which the system will use as both the ZSK and KSK.
4. Select the desired algorithm from the *Algorithm* menu.
{{% callout type="info" header="Note:"%}}
The interface disables incompatible algorithms.
{{% /callout %}}
5. Select whether to activate the newly-generated key.
6. Click *Create Key*. The *DS Records* interface will appear with the new DNSSEC key's details.
To validate the DNSSEC configuration for a domain, use Verisign's [DNSSEC Anaylzer](https://dnssec-analyzer.verisignlabs.com/) website.
### Import a DNSSEC key
The *Import* interface lets you import an existing DNSSEC key. To import a DNSSEC key for a domain, perform the following steps:
1. Click *Import Key*. The *Import* interface will appear.
2. Select the key type that you want to import:
* *ZSK* — Zone Signing Key.
* *KSK* — Key Signing Key.
3. Enter the key information in the *Key* text box.
4. Click *Import*.
### Export a DNSSEC key
The *Export* interface provides the information you need to export a DNSSEC key. This interface displays the following details about a domain's DNSSEC key:
* *Domain* — The domain in the DNS record.
* *Key Tag* — An integer value that identifies the domain's DNSSEC record.
* *Key Type* — Whether the key is ZSK, CSK, or KSK.
* *Key* — The DNSSEC key. Click *Copy* to copy the key to your computer's clipboard.
### Public DNSKEY
The *Public DNSSEKY* interface lets you view a public DNSKEY record's details. This interface displays the following information:
* *Domain* — The domain in the DNS record.
* *Public DNSKEY* — The public DNSKEY record.
### DS Records
When you click *View DS Records* for a key, the *DS Records* interface will appear. This interface displays the following DNSSEC key information:
* *Domain* — The domain in the DNS record.
* *Key Tag* — An integer value that identifies the domain's DNSSEC record.
* *Algorithm* — The algorithm type that constructs the digest.
* *Created* — The key's creation date.
* *Digests* — A list of available digests. The interface displays each digest's algorithm type (*Digest Type*) and algorithm information (*Digest*).
You can use this information to add a DS record to [your domain's registrar](#domain-registrar-ds-records). To do so, perform the following steps:
1. Determine the *Digest Type* that your registrar uses.
2. Click *Copy* for the appropriate *Digest* record.
3. Go to your registrar's website and add the information that they request for your domain.
### Delete a DNSSEC key
{{% callout type="warning" header="Important:"%}}
Before you delete the domain's DNSSEC key in cPanel & WHM, you **must** remove or disable the DS with [your domain registrar](#domain-registrar-ds-records). After editing the DS record, wait at least 24 hours for the changes to propagate. Once the changes propagate, you may delete the DNSSEC key in cPanel & WHM.
{{% /callout %}}
To delete a DNSSEC key, perform the following steps:
1. Click *Delete* next to the appropriate record.
2. Click *Continue* to confirm that you want to delete the security record.
### Domain registrar DS records
Any time you create, modify, or remove a domain's DNSSEC key, you **must** update your Delegation Signer (DS) record with your domain registrar. The following are some of the most popular domain registrars. Visit their website to read their DNSSEC management documentation:
* [GoDaddy](https://www.godaddy.com/help/delete-a-ds-record-23867)
* [Namecheap](https://www.namecheap.com/support/knowledgebase/article.aspx/9722/2232/managing-dnssec-for-domains-pointed-to-custom-dns)
* [OpenSRS](https://help.opensrs.com/hc/en-us/articles/1260801515030-Configuring-DNSSEC#h_01EWGJBKXRDWNWRCT0XQ5T9GHX)