forked from docs/doc-exports
Reviewed-by: Hajba, László Antal <laszlo-antal.hajba@t-systems.com> Co-authored-by: Qin Ying, Fan <fanqinying@huawei.com> Co-committed-by: Qin Ying, Fan <fanqinying@huawei.com>
154 lines
17 KiB
HTML
154 lines
17 KiB
HTML
<a name="dns_usermanual_0601"></a><a name="dns_usermanual_0601"></a>
|
|
|
|
<h1 class="topictitle1">Record Set Types and Configuration Rules</h1>
|
|
<div id="body1595210338468"><div class="section" id="dns_usermanual_0601__section121508118289"><h4 class="sectiontitle">Record Set Types</h4><p id="dns_usermanual_0601__p824814283498"><a href="#dns_usermanual_0601__table936244914119">Table 1</a> describes the record set types.</p>
|
|
<ul id="dns_usermanual_0601__ul104936216275"><li id="dns_usermanual_0601__li5493321112718">Record set types in public zones: A, CNAME, MX, AAAA, TXT, SRV, NS, SOA, and CAA</li><li id="dns_usermanual_0601__li16493172111273">Record set types in private zones: A, CNAME, MX, AAAA, TXT, SRV, SOA, and PTR</li></ul>
|
|
|
|
<div class="tablenoborder"><a name="dns_usermanual_0601__table936244914119"></a><a name="table936244914119"></a><table cellpadding="4" cellspacing="0" summary="" id="dns_usermanual_0601__table936244914119" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Record set types</caption><thead align="left"><tr id="dns_usermanual_0601__row5362174917119"><th align="left" class="cellrowborder" valign="top" width="18.938106189381063%" id="mcps1.3.1.4.2.5.1.1"><p id="dns_usermanual_0601__p136234910117">Record Set Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="27.357264273572646%" id="mcps1.3.1.4.2.5.1.2"><p id="dns_usermanual_0601__p196012127488">Description</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="25.367463253674632%" id="mcps1.3.1.4.2.5.1.3"><p id="dns_usermanual_0601__p4570120122">Value</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="28.337166283371662%" id="mcps1.3.1.4.2.5.1.4"><p id="dns_usermanual_0601__p2792163718112">Example</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="dns_usermanual_0601__row236318496112"><td class="cellrowborder" valign="top" width="18.938106189381063%" headers="mcps1.3.1.4.2.5.1.1 "><p id="dns_usermanual_0601__p15363649515"><a href="dns_usermanual_0007.html">A</a></p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="27.357264273572646%" headers="mcps1.3.1.4.2.5.1.2 "><p id="dns_usermanual_0601__p46061217485">Maps domains to IPv4 addresses.</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25.367463253674632%" headers="mcps1.3.1.4.2.5.1.3 "><p id="dns_usermanual_0601__p1719545813232">IPv4 addresses mapped to the domain name</p>
|
|
<p id="dns_usermanual_0601__p16575194113336">You can enter a maximum of 50 record values, each on a separate line.</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="28.337166283371662%" headers="mcps1.3.1.4.2.5.1.4 "><p id="dns_usermanual_0601__p7195358102310">192.168.12.2</p>
|
|
<p id="dns_usermanual_0601__p1195658142314">192.168.12.3</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="dns_usermanual_0601__row4363549610"><td class="cellrowborder" valign="top" width="18.938106189381063%" headers="mcps1.3.1.4.2.5.1.1 "><p id="dns_usermanual_0601__p33630496112"><a href="dns_usermanual_0010.html">CNAME</a></p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="27.357264273572646%" headers="mcps1.3.1.4.2.5.1.2 "><p id="dns_usermanual_0601__p76091218488">Maps one domain name to another domain name or multiple domain names to one domain name.</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25.367463253674632%" headers="mcps1.3.1.4.2.5.1.3 "><p id="dns_usermanual_0601__p28154517219">Domain name alias. You can enter only one domain name.</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="28.337166283371662%" headers="mcps1.3.1.4.2.5.1.4 "><p id="dns_usermanual_0601__p167945420">www.example.com</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="dns_usermanual_0601__row183636491910"><td class="cellrowborder" valign="top" width="18.938106189381063%" headers="mcps1.3.1.4.2.5.1.1 "><p id="dns_usermanual_0601__p1536384910118"><a href="dns_usermanual_0011.html">MX</a></p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="27.357264273572646%" headers="mcps1.3.1.4.2.5.1.2 "><p id="dns_usermanual_0601__p196017129485">Maps domain names to email servers.</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25.367463253674632%" headers="mcps1.3.1.4.2.5.1.3 "><p id="dns_usermanual_0601__p395310183518">Email server address</p>
|
|
<p id="dns_usermanual_0601__p19845113674112">You can enter a maximum of 50 record values, each on a separate line.</p>
|
|
<p id="dns_usermanual_0601__p7599103820417">The format is <strong id="dns_usermanual_0601__b1296912311214">[priority][mail server host name]</strong>.</p>
|
|
<div class="p" id="dns_usermanual_0601__p937434154111">Configuration rules:<ul id="dns_usermanual_0601__ul78353231045"><li id="dns_usermanual_0601__li48365231949"><strong id="dns_usermanual_0601__b15151434015">priority</strong>: priority for an email server to receive emails. A smaller value indicates a higher priority.</li><li id="dns_usermanual_0601__li983614233412"><strong id="dns_usermanual_0601__b42409350119">mail server host name</strong>: domain name provided by the email service provider</li></ul>
|
|
</div>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="28.337166283371662%" headers="mcps1.3.1.4.2.5.1.4 "><p id="dns_usermanual_0601__p11473171816353">10 mailserver.example.com.</p>
|
|
<p id="dns_usermanual_0601__p57742052113417">20 mailserver2.example.com.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="dns_usermanual_0601__row1236354918118"><td class="cellrowborder" valign="top" width="18.938106189381063%" headers="mcps1.3.1.4.2.5.1.1 "><p id="dns_usermanual_0601__p936334912116"><a href="dns_usermanual_0008.html">AAAA</a></p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="27.357264273572646%" headers="mcps1.3.1.4.2.5.1.2 "><p id="dns_usermanual_0601__p060412124816">Maps domain names to IPv6 addresses.</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25.367463253674632%" headers="mcps1.3.1.4.2.5.1.3 "><p id="dns_usermanual_0601__p0825914153215">IPv6 addresses mapped to the domain name</p>
|
|
<p id="dns_usermanual_0601__p4469944512739">You can enter a maximum of 50 record values, each on a separate line.</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="28.337166283371662%" headers="mcps1.3.1.4.2.5.1.4 "><p id="dns_usermanual_0601__p177936371718">ff03:0db8:85a3:0:0:8a2e:0370:7334</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="dns_usermanual_0601__row153633491014"><td class="cellrowborder" valign="top" width="18.938106189381063%" headers="mcps1.3.1.4.2.5.1.1 "><p id="dns_usermanual_0601__p13641349112"><a href="dns_usermanual_0012.html">TXT</a></p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="27.357264273572646%" headers="mcps1.3.1.4.2.5.1.2 "><p id="dns_usermanual_0601__p1660191264818">Creates text records for domain names. It is usually used in the following scenarios:</p>
|
|
<ul id="dns_usermanual_0601__ul8603128486"><li id="dns_usermanual_0601__li36001224818">To record DKIM public keys to prevent email fraud.</li><li id="dns_usermanual_0601__li360612184813">To record the identity of domain name owners to facilitate domain name retrieval.</li></ul>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25.367463253674632%" headers="mcps1.3.1.4.2.5.1.3 "><p id="dns_usermanual_0601__p9326123174810">Text content</p>
|
|
<p id="dns_usermanual_0601__p91701146202618">Configuration rules:</p>
|
|
<ul id="dns_usermanual_0601__ul32037609181232"><li id="dns_usermanual_0601__li7973125613574">Text record values must be enclosed in double quotation marks.</li><li id="dns_usermanual_0601__li5985246820">One or more text record values are supported, each on a separate line.<p id="dns_usermanual_0601__p1374811251580"><a name="dns_usermanual_0601__li5985246820"></a><a name="li5985246820"></a>A maximum of 50 text record values can be entered.</p>
|
|
</li><li id="dns_usermanual_0601__li63305313203922">A single text record value can contain multiple character strings, each of which is double quoted and separated from others using a space.<p id="dns_usermanual_0601__p1513914291788"><a name="dns_usermanual_0601__li63305313203922"></a><a name="li63305313203922"></a>One character string cannot exceed 255 characters.</p>
|
|
<p id="dns_usermanual_0601__p5663162119222">A value must not exceed 4096 characters.</p>
|
|
</li><li id="dns_usermanual_0601__li2600389318132">The value cannot be left blank.</li><li id="dns_usermanual_0601__li51504955181315">The text cannot contain a backslash (\).</li></ul>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="28.337166283371662%" headers="mcps1.3.1.4.2.5.1.4 "><ul id="dns_usermanual_0601__ul363213438810"><li id="dns_usermanual_0601__li56331343780">Single text record:<p id="dns_usermanual_0601__p141241414182513"><a name="dns_usermanual_0601__li56331343780"></a><a name="li56331343780"></a>"aaa"</p>
|
|
</li><li id="dns_usermanual_0601__li20583849481">Multiple text records:<p id="dns_usermanual_0601__p649982213258"><a name="dns_usermanual_0601__li20583849481"></a><a name="li20583849481"></a>"bbb"</p>
|
|
<p id="dns_usermanual_0601__p698719260258">"ccc"</p>
|
|
</li><li id="dns_usermanual_0601__li817219552087">A text record that contains multiple strings:<p id="dns_usermanual_0601__p04795642513"><a name="dns_usermanual_0601__li817219552087"></a><a name="li817219552087"></a>"ddd" "eee" "fff"</p>
|
|
</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="dns_usermanual_0601__row1536417495113"><td class="cellrowborder" valign="top" width="18.938106189381063%" headers="mcps1.3.1.4.2.5.1.1 "><p id="dns_usermanual_0601__p63646492113"><a href="dns_usermanual_0013.html">SRV</a></p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="27.357264273572646%" headers="mcps1.3.1.4.2.5.1.2 "><p id="dns_usermanual_0601__p9601512164814">Records servers providing specific services.</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25.367463253674632%" headers="mcps1.3.1.4.2.5.1.3 "><p id="dns_usermanual_0601__p12664616172810">Server address</p>
|
|
<p id="dns_usermanual_0601__p13922115164111">You can enter a maximum of 50 record values, each on a separate line.</p>
|
|
<p id="dns_usermanual_0601__p388420173416">The value format is <strong id="dns_usermanual_0601__b1011516412720">[priority] [weight] [port number] [server address]</strong>.</p>
|
|
<p id="dns_usermanual_0601__p59049495214647">Configuration rules:</p>
|
|
<ul id="dns_usermanual_0601__ul61715031214652"><li id="dns_usermanual_0601__li13383858214652">The priority, weight, and port number range from 0 to 65535.</li><li id="dns_usermanual_0601__li60047294214834">A smaller value indicates a higher priority.</li><li id="dns_usermanual_0601__li3933924821491">A larger value indicates a larger weight.</li><li id="dns_usermanual_0601__li44091146214942">The server address is the domain name of the target server.<p id="dns_usermanual_0601__p34925965215029"><a name="dns_usermanual_0601__li44091146214942"></a><a name="li44091146214942"></a>Ensure that the domain name can be resolved.</p>
|
|
</li></ul>
|
|
<div class="note" id="dns_usermanual_0601__note159616114015"><span class="notetitle"> NOTE: </span><div class="notebody"><p id="dns_usermanual_0601__p14596162401">If the record set values have the same priority, requests to the domain name will be routed based on weights.</p>
|
|
</div></div>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="28.337166283371662%" headers="mcps1.3.1.4.2.5.1.4 "><p id="dns_usermanual_0601__p1179317373120">2 1 2355 example_server.test.com</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="dns_usermanual_0601__row636411491816"><td class="cellrowborder" valign="top" width="18.938106189381063%" headers="mcps1.3.1.4.2.5.1.1 "><p id="dns_usermanual_0601__p1336464911111"><a href="dns_usermanual_0009.html">NS</a></p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="27.357264273572646%" headers="mcps1.3.1.4.2.5.1.2 "><p id="dns_usermanual_0601__p460612114815">Delegates subdomains to other name servers.</p>
|
|
<ul id="dns_usermanual_0601__ul1960141244818"><li id="dns_usermanual_0601__li96081214816">For public zones, an NS record set is automatically created, and you can add NS record sets for subdomains.</li><li id="dns_usermanual_0601__li760131284810">For private zones, an NS record set is automatically created, and you cannot add other NS record sets.</li></ul>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25.367463253674632%" headers="mcps1.3.1.4.2.5.1.3 "><p id="dns_usermanual_0601__p53736411311">DNS server address</p>
|
|
<p id="dns_usermanual_0601__p17565132916315">You can enter a maximum of 50 record values, each on a separate line.</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="28.337166283371662%" headers="mcps1.3.1.4.2.5.1.4 "><p id="dns_usermanual_0601__p49423069122512">ns1.example.net</p>
|
|
<p id="dns_usermanual_0601__p42154445122512">ns2.example.net</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="dns_usermanual_0601__row546113451119"><td class="cellrowborder" valign="top" width="18.938106189381063%" headers="mcps1.3.1.4.2.5.1.1 "><p id="dns_usermanual_0601__p446134531115">SOA</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="27.357264273572646%" headers="mcps1.3.1.4.2.5.1.2 "><p id="dns_usermanual_0601__p184611245111111">Identifies the base information about a domain name. The SOA record set is automatically generated by the DNS service and cannot be added manually.</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25.367463253674632%" headers="mcps1.3.1.4.2.5.1.3 "><p id="dns_usermanual_0601__p154610456111">This type of record set is created by default and cannot be added manually.</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="28.337166283371662%" headers="mcps1.3.1.4.2.5.1.4 "><p id="dns_usermanual_0601__p3461134581117">This type of record set is created by default and cannot be added manually.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="dns_usermanual_0601__row17365164913115"><td class="cellrowborder" valign="top" width="18.938106189381063%" headers="mcps1.3.1.4.2.5.1.1 "><p id="dns_usermanual_0601__p17365249412"><a href="dns_usermanual_0014.html">CAA</a></p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="27.357264273572646%" headers="mcps1.3.1.4.2.5.1.2 "><p id="dns_usermanual_0601__p126115129485">Grants certificate issuing permissions to certificate authorities (CAs). CAA record sets can prevent the issuance of unauthorized HTTPS certificates.</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25.367463253674632%" headers="mcps1.3.1.4.2.5.1.3 "><p id="dns_usermanual_0601__p1083175883618">CA to be authorized to issue certificates for a domain name or its subdomains</p>
|
|
<p id="dns_usermanual_0601__p112401257104010">You can enter a maximum of 50 record values, each on a separate line.</p>
|
|
<p id="dns_usermanual_0601__p17480185874010">The format is <strong id="dns_usermanual_0601__b14296101413215">[</strong><strong id="dns_usermanual_0601__b1330716141026">flag</strong><strong id="dns_usermanual_0601__b153084141922">] [tag] [value]</strong>.</p>
|
|
<p id="dns_usermanual_0601__p19865152383612">Configuration rules:</p>
|
|
<ul id="dns_usermanual_0601__ul4929101919515"><li id="dns_usermanual_0601__li119293195518"><strong id="dns_usermanual_0601__b84235270615756">flag</strong>: CA identifier, an unsigned character ranging from 0 to 255. Usually, the value is set to <strong id="dns_usermanual_0601__b171541818521">0</strong>.</li><li id="dns_usermanual_0601__li1649132215511"><strong id="dns_usermanual_0601__b431716191229">tag</strong>: You can enter 1 to 15 characters, consisting of letters and digits from 0 to 9. The tag can be one of the following:<ul id="dns_usermanual_0601__ul359754482613"><li id="dns_usermanual_0601__li959784482616"><strong id="dns_usermanual_0601__b84235270695322">issue</strong>: authorizes a CA to issue all types of certificates.</li><li id="dns_usermanual_0601__li959734418266"><strong id="dns_usermanual_0601__b84235270695328">issuewild</strong>: authorizes a CA to issue wildcard certificates.</li><li id="dns_usermanual_0601__li7597114418262"><strong id="dns_usermanual_0601__b84235270695332">iodef</strong>: requests notifications once a CA receives invalid certificate requests.</li></ul>
|
|
</li><li id="dns_usermanual_0601__li124587266518"><strong id="dns_usermanual_0601__b614322516212">value</strong>: authorized CA or email address/URL required for notification once the CA receives invalid certificate requests. The value depends on the value of <strong id="dns_usermanual_0601__b1687514593274">tag</strong> and must be enclosed in quotation marks (""). The value can contain a maximum of 255 characters, consisting of letters, digits, spaces, and special characters -#*?&_~=:;.@+^/!%</li></ul>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="28.337166283371662%" headers="mcps1.3.1.4.2.5.1.4 "><p id="dns_usermanual_0601__p9310164811125">0 issue "ca.abc.com"</p>
|
|
<p id="dns_usermanual_0601__p183101948161220">0 issuewild "ca.def.com"</p>
|
|
<p id="dns_usermanual_0601__p831014831214">0 iodef "mailto:admin@domain.com"</p>
|
|
<p id="dns_usermanual_0601__p143101248181211">0 iodef "http:// domain.com/log/"</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="dns_usermanual_0601__row133655491117"><td class="cellrowborder" valign="top" width="18.938106189381063%" headers="mcps1.3.1.4.2.5.1.1 "><p id="dns_usermanual_0601__p23651749017"><a href="dns_usermanual_0015.html">PTR</a></p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="27.357264273572646%" headers="mcps1.3.1.4.2.5.1.2 "><p id="dns_usermanual_0601__p1461212144819">Maps IP addresses to domain names.</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25.367463253674632%" headers="mcps1.3.1.4.2.5.1.3 "><p id="dns_usermanual_0601__p1037312616133">Private domain name mapped to the private IP address. You can enter only one domain name.</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="28.337166283371662%" headers="mcps1.3.1.4.2.5.1.4 "><p id="dns_usermanual_0601__p1379333711110">www.example.com</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="dns_usermanual_0006.html">Adding Record Sets</a></div>
|
|
</div>
|
|
</div>
|
|
|