doc-exports/docs/dns/umn/dns_usermanual_0010.html
Qin Ying, Fan 97832252bc DNS UMN 0930 version
Reviewed-by: Kucerak, Kristian <kristian.kucerak@t-systems.com>
Co-authored-by: Qin Ying, Fan <fanqinying@huawei.com>
Co-committed-by: Qin Ying, Fan <fanqinying@huawei.com>
2022-10-04 14:13:06 +00:00

112 lines
14 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<a name="dns_usermanual_0010"></a><a name="dns_usermanual_0010"></a>
<h1 class="topictitle1">Adding a CNAME Record Set</h1>
<div id="body1548760902270"><div class="section" id="dns_usermanual_0010__section187281084528"><h4 class="sectiontitle">Scenarios</h4><p id="dns_usermanual_0010__p1849014481545">If you want to map one domain name to another, add a CNAME record set for the domain name.</p>
<p id="dns_usermanual_0010__p1032122565311">For more details, see <a href="dns_usermanual_0601.html">Record Set Types and Configuration Rules</a>.</p>
</div>
<div class="section" id="dns_usermanual_0010__section10284161715528"><h4 class="sectiontitle">Constraints</h4><ul id="dns_usermanual_0010__ul122344147235"><li id="dns_usermanual_0010__li51372307231">You can leave the <strong id="dns_usermanual_0010__b1026623110310">Name</strong> parameter blank when adding a CNAME record set.</li><li id="dns_usermanual_0010__li1823414143234">You cannot create a CNAME record set with the same name and resolution line as an NS record set.</li></ul>
</div>
<div class="section" id="dns_usermanual_0010__section6412174644120"><h4 class="sectiontitle"><strong id="dns_usermanual_0010__b1439935953018">Procedure</strong></h4><ol id="dns_usermanual_0010__ol17542104182445"><li id="dns_usermanual_0010__li21168153182445">Log in to the management console.</li><li id="dns_usermanual_0010__li16568687183919">In the service list, choose <strong id="dns_usermanual_0010__en-us_topic_0035467699_b253764512375">Network</strong> &gt; <strong id="dns_usermanual_0010__en-us_topic_0035467699_b561505711379">Domain Name Service</strong>.<p id="dns_usermanual_0010__en-us_topic_0035467699_en-us_topic_0035467699_p179595731633">The DNS console is displayed.</p>
</li></ol><ol start="3" id="dns_usermanual_0010__ol44805021215"><li id="dns_usermanual_0010__li61395879115716">In the navigation pane, choose <strong id="dns_usermanual_0010__dns_usermanual_0007_b986110155422">Public Zones</strong> or <strong id="dns_usermanual_0010__dns_usermanual_0007_b108621815114215">Private Zones</strong>.<p id="dns_usermanual_0010__dns_usermanual_0007_p4157489104157">The zone list is displayed.</p>
</li><li id="dns_usermanual_0010__li45255317204023">(Optional) If you have selected <strong id="dns_usermanual_0010__dns_usermanual_0007_b84235270695236">Private Zones</strong>, click <span><img id="dns_usermanual_0010__dns_usermanual_0007_image173881631115111" src="en-us_image_0148391090.png"></span> on the upper left corner to select the region and project.</li><li id="dns_usermanual_0010__li57832421115837">Click the zone name.</li><li id="dns_usermanual_0010__li147602027144118">Click <strong id="dns_usermanual_0010__dns_usermanual_0007_b1360114185916">Add Record Set</strong>.<p id="dns_usermanual_0010__dns_usermanual_0007_a57041818ee3b4a18801b83932fce907b">The <strong id="dns_usermanual_0010__dns_usermanual_0007_b1260184125913">Add Record Set</strong> dialog box is displayed.</p>
</li></ol><ol start="7" id="dns_usermanual_0010__ol59320072113848"><li id="dns_usermanual_0010__li613684841277">Set required parameters based on <a href="#dns_usermanual_0010__t7e961b6fba5344d9a5d12668c805e2a7">Table 1</a>.
<div class="tablenoborder"><a name="dns_usermanual_0010__t7e961b6fba5344d9a5d12668c805e2a7"></a><a name="t7e961b6fba5344d9a5d12668c805e2a7"></a><table cellpadding="4" cellspacing="0" summary="" id="dns_usermanual_0010__t7e961b6fba5344d9a5d12668c805e2a7" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Parameters for adding a CNAME record set</caption><thead align="left"><tr id="dns_usermanual_0010__r8f4b49ca147c4462a0362c78fd0bf67f"><th align="left" class="cellrowborder" valign="top" width="17%" id="mcps1.3.3.5.1.2.2.4.1.1"><p id="dns_usermanual_0010__aa55224b8f6724450941dd76e60a69ba2"><strong id="dns_usermanual_0010__b29419149913">Parameter</strong></p>
</th>
<th align="left" class="cellrowborder" valign="top" width="61%" id="mcps1.3.3.5.1.2.2.4.1.2"><p id="dns_usermanual_0010__abd4e9fda13ec458cba8076d779124671"><strong>Description</strong></p>
</th>
<th align="left" class="cellrowborder" valign="top" width="22%" id="mcps1.3.3.5.1.2.2.4.1.3"><p id="dns_usermanual_0010__aad297e5e052d44bf9631f71d6a0583a1"><strong>Example Value</strong></p>
</th>
</tr>
</thead>
<tbody><tr id="dns_usermanual_0010__rd07106e427a24dc48cdf21cfb528d21e"><td class="cellrowborder" valign="top" width="17%" headers="mcps1.3.3.5.1.2.2.4.1.1 "><p id="dns_usermanual_0010__a853c12776b2d4bf0a0acd8f8b9e35d12">Name</p>
</td>
<td class="cellrowborder" valign="top" width="61%" headers="mcps1.3.3.5.1.2.2.4.1.2 "><p id="dns_usermanual_0010__p498991411924">Prefix of the domain name to be resolved</p>
<p id="dns_usermanual_0010__p4490923311924">For example, if the zone name is <strong id="dns_usermanual_0010__dns_usermanual_0007_b10331683433">example.com</strong>, the domain name prefix can be as follows:</p>
<ul id="dns_usermanual_0010__ul62101617105015"><li id="dns_usermanual_0010__dns_usermanual_0007_li74912028142710"><strong id="dns_usermanual_0010__dns_usermanual_0007_b68691535154311">www</strong>: The domain name is www.example.com, which is usually used for a website.</li><li id="dns_usermanual_0010__dns_usermanual_0007_li7403112285516">Left blank: The domain name is example.com.<p id="dns_usermanual_0010__dns_usermanual_0007_p210152475518"><a name="dns_usermanual_0010__dns_usermanual_0007_li7403112285516"></a><a name="dns_usermanual_0007_li7403112285516"></a>In some cases, you may need to set the record set name to the at sign (@). However, the at sign is not supported. Leave the <strong id="dns_usermanual_0010__dns_usermanual_0007_b7945135343216">Name</strong> blank.</p>
</li><li id="dns_usermanual_0010__dns_usermanual_0007_li1749112284277"><strong id="dns_usermanual_0010__dns_usermanual_0007_b159141815184510">abc</strong>: The domain name is abc.example.com, a subdomain of example.com.</li><li id="dns_usermanual_0010__dns_usermanual_0007_li20491028142718"><strong id="dns_usermanual_0010__dns_usermanual_0007_b510014054612">mail</strong>: The domain name is mail.example.com, which is typically used for an email server.</li><li id="dns_usermanual_0010__dns_usermanual_0007_li184910286279"><strong id="dns_usermanual_0010__dns_usermanual_0007_b14337622174617">*</strong>: The domain name is *.example.com, which is a wildcard domain name, indicating all subdomains of example.com.</li></ul>
</td>
<td class="cellrowborder" valign="top" width="22%" headers="mcps1.3.3.5.1.2.2.4.1.3 "><p id="dns_usermanual_0010__ae051bd6144dd4c5089404dc42de8754c">Left blank</p>
</td>
</tr>
<tr id="dns_usermanual_0010__ree4409520d7f476d840dff4a8e95c2bd"><td class="cellrowborder" valign="top" width="17%" headers="mcps1.3.3.5.1.2.2.4.1.1 "><p id="dns_usermanual_0010__a693c2dbbb0ad4a9a84064c776d307a3a">Type</p>
</td>
<td class="cellrowborder" valign="top" width="61%" headers="mcps1.3.3.5.1.2.2.4.1.2 "><p id="dns_usermanual_0010__ad5848d00fa644a619405c2eca114014e">Type of the record set</p>
<p id="dns_usermanual_0010__p8911154710176">If a message is displayed indicating that the record set you are trying to create exists, the record set conflicts with an existing record set.</p>
</td>
<td class="cellrowborder" valign="top" width="22%" headers="mcps1.3.3.5.1.2.2.4.1.3 "><p id="dns_usermanual_0010__p134117018432">CNAME Map one domain to another</p>
</td>
</tr>
<tr id="dns_usermanual_0010__r1f2d805c994947ef84e4c81b769ab545"><td class="cellrowborder" valign="top" width="17%" headers="mcps1.3.3.5.1.2.2.4.1.1 "><p id="dns_usermanual_0010__a6a278aa4752c463ea3258b5406940dd1">TTL (s)</p>
</td>
<td class="cellrowborder" valign="top" width="61%" headers="mcps1.3.3.5.1.2.2.4.1.2 "><p id="dns_usermanual_0010__p5888275712739">Cache duration of the record set on a local DNS server, in seconds</p>
<p id="dns_usermanual_0010__p103873299529">The value ranges from <strong id="dns_usermanual_0010__dns_usermanual_0007_b12340162774812">1</strong> to <strong id="dns_usermanual_0010__dns_usermanual_0007_b8804142484815">2147483647</strong>, and the default is <strong id="dns_usermanual_0010__dns_usermanual_0007_b986894618157">300</strong>.</p>
<p id="dns_usermanual_0010__p7737113020523">If your service address changes frequently, set TTL to a smaller value.</p>
</td>
<td class="cellrowborder" valign="top" width="22%" headers="mcps1.3.3.5.1.2.2.4.1.3 "><p id="dns_usermanual_0010__p477403312739">The default value is <strong id="dns_usermanual_0010__dns_usermanual_0007_b13495124172916">300</strong>, which is, 5 minutes.</p>
</td>
</tr>
<tr id="dns_usermanual_0010__rfe19349730304adca58ddce7c87498ef"><td class="cellrowborder" valign="top" width="17%" headers="mcps1.3.3.5.1.2.2.4.1.1 "><p id="dns_usermanual_0010__a77d210cd340646f2b2bbd073cb1bc706">Value</p>
</td>
<td class="cellrowborder" valign="top" width="61%" headers="mcps1.3.3.5.1.2.2.4.1.2 "><p id="dns_usermanual_0010__a5b67e4289ca344ddbae87e15d15e88be">Domain name alias. You can enter only one domain name.</p>
</td>
<td class="cellrowborder" valign="top" width="22%" headers="mcps1.3.3.5.1.2.2.4.1.3 "><p id="dns_usermanual_0010__p1396527123037">webserver01.example.com</p>
</td>
</tr>
<tr id="dns_usermanual_0010__row14781155652511"><td class="cellrowborder" valign="top" width="17%" headers="mcps1.3.3.5.1.2.2.4.1.1 "><p id="dns_usermanual_0010__p1079616472617">Tags</p>
</td>
<td class="cellrowborder" valign="top" width="61%" headers="mcps1.3.3.5.1.2.2.4.1.2 "><p id="dns_usermanual_0010__p1414134716167">(Optional) Identifier of a resource</p>
<p id="dns_usermanual_0010__p15759294178">Each tag contains a key and a value. You can add a maximum of 20 tags to a record set. This parameter is displayed when you enable <strong id="dns_usermanual_0010__dns_usermanual_0007_b1487533711226">Other Settings</strong>.</p>
<p id="dns_usermanual_0010__p1480614410262">For details about tag key and value requirements, see <a href="#dns_usermanual_0010__table191971158112315">Table 2</a>.</p>
</td>
<td class="cellrowborder" valign="top" width="22%" headers="mcps1.3.3.5.1.2.2.4.1.3 "><p id="dns_usermanual_0010__p168174416269">example_key1</p>
<p id="dns_usermanual_0010__p58186442618">example_value1</p>
</td>
</tr>
<tr id="dns_usermanual_0010__row17850451133421"><td class="cellrowborder" valign="top" width="17%" headers="mcps1.3.3.5.1.2.2.4.1.1 "><p id="dns_usermanual_0010__p42407063133426">Description</p>
</td>
<td class="cellrowborder" valign="top" width="61%" headers="mcps1.3.3.5.1.2.2.4.1.2 "><p id="dns_usermanual_0010__p1143782915343">(Optional) Supplementary information about the record set</p>
<p id="dns_usermanual_0010__p17140145133253">You can enter a maximum of 255 characters.</p>
</td>
<td class="cellrowborder" valign="top" width="22%" headers="mcps1.3.3.5.1.2.2.4.1.3 "><p id="dns_usermanual_0010__p61658598133426">-</p>
</td>
</tr>
</tbody>
</table>
</div>
<div class="tablenoborder"><a name="dns_usermanual_0010__table191971158112315"></a><a name="table191971158112315"></a><table cellpadding="4" cellspacing="0" summary="" id="dns_usermanual_0010__table191971158112315" frame="border" border="1" rules="all"><caption><b>Table 2 </b>Tag key and value requirements</caption><thead align="left"><tr id="dns_usermanual_0010__dns_usermanual_0007_r4f5fd2fecc60424eb20075f35572eeb0"><th align="left" class="cellrowborder" valign="top" width="16%" id="mcps1.3.3.5.1.3.2.4.1.1"><p id="dns_usermanual_0010__dns_usermanual_0007_en-us_topic_0035467699_p132908358173"><strong>Parameter</strong></p>
</th>
<th align="left" class="cellrowborder" valign="top" width="62%" id="mcps1.3.3.5.1.3.2.4.1.2"><p id="dns_usermanual_0010__dns_usermanual_0007_aa34a0c0cbae34a23b63e1882cf4a2c91"><strong id="dns_usermanual_0010__dns_usermanual_0007_b842352706171418">Requirements</strong></p>
</th>
<th align="left" class="cellrowborder" valign="top" width="22%" id="mcps1.3.3.5.1.3.2.4.1.3"><p id="dns_usermanual_0010__dns_usermanual_0007_aece629313e384a698796b7aff7821561">Example Value</p>
</th>
</tr>
</thead>
<tbody><tr id="dns_usermanual_0010__dns_usermanual_0007_rbb2718429c5141319dde3ac939f97ba9"><td class="cellrowborder" valign="top" width="16%" headers="mcps1.3.3.5.1.3.2.4.1.1 "><p id="dns_usermanual_0010__dns_usermanual_0007_ae8044150f5804b42bd8632ccced6b72a">Key</p>
</td>
<td class="cellrowborder" valign="top" width="62%" headers="mcps1.3.3.5.1.3.2.4.1.2 "><ul id="dns_usermanual_0010__dns_usermanual_0007_en-us_topic_0035467699_ul46253231183"><li id="dns_usermanual_0010__dns_usermanual_0007_ld4d43cb49f93464d9789eac5bd9e5f36">Cannot be left blank.</li><li id="dns_usermanual_0010__dns_usermanual_0007_ldcb5af7969f74a64877bb92ab6cd0a40">Must be unique for each resource.</li><li id="dns_usermanual_0010__dns_usermanual_0007_lf50b032d8e2640b4a6c1d5658daa90cf">Can contain a maximum of 36 characters.</li></ul>
</td>
<td class="cellrowborder" valign="top" width="22%" headers="mcps1.3.3.5.1.3.2.4.1.3 "><p id="dns_usermanual_0010__dns_usermanual_0007_a6535efd5b28a446992be7db56bdbca33">example_key1</p>
</td>
</tr>
<tr id="dns_usermanual_0010__dns_usermanual_0007_r89eaf5034c26447c8057d051da26301c"><td class="cellrowborder" valign="top" width="16%" headers="mcps1.3.3.5.1.3.2.4.1.1 "><p id="dns_usermanual_0010__dns_usermanual_0007_afc435752da464fffb58242f1410f227f">Value</p>
</td>
<td class="cellrowborder" valign="top" width="62%" headers="mcps1.3.3.5.1.3.2.4.1.2 "><ul id="dns_usermanual_0010__dns_usermanual_0007_u388a9174749341a8a916b0093d32bc13"><li id="dns_usermanual_0010__dns_usermanual_0007_ld458706cbafd443eac83d3581f41a26e">Cannot be left blank.</li><li id="dns_usermanual_0010__dns_usermanual_0007_l868cdcac8a1341fbaf4d2d69a2f57349">Can contain a maximum of 43 characters.</li></ul>
</td>
<td class="cellrowborder" valign="top" width="22%" headers="mcps1.3.3.5.1.3.2.4.1.3 "><p id="dns_usermanual_0010__dns_usermanual_0007_en-us_topic_0035467699_p62904352179">example_value1</p>
</td>
</tr>
</tbody>
</table>
</div>
</li><li id="dns_usermanual_0010__li010614277123">Click <strong id="dns_usermanual_0010__b11756221101818">OK</strong>.</li><li id="dns_usermanual_0010__en-us_topic_0035467699_li4923490010251">Switch back to the <strong id="dns_usermanual_0010__dns_qs_0006_b551763234215">Record Sets</strong> page.<p id="dns_usermanual_0010__dns_qs_0006_p677473481417">View the added record set in the record set list of the zone and ensure that the status of the record set is <strong id="dns_usermanual_0010__dns_qs_0006_b73956595510">Normal</strong>.</p>
</li></ol>
</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>