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>
115 lines
14 KiB
HTML
115 lines
14 KiB
HTML
<a name="dns_usermanual_0007"></a><a name="dns_usermanual_0007"></a>
|
||
|
||
<h1 class="topictitle1">Adding an A Record Set</h1>
|
||
<div id="body1548760902270"><div class="section" id="dns_usermanual_0007__section187281084528"><h4 class="sectiontitle"><strong id="dns_usermanual_0007__b939918494108">Scenarios</strong></h4><p id="dns_usermanual_0007__p1849014481545">If you want end users to access your website, web application, or cloud server configured with an IPv4 address via its domain name, add an A record set for this domain name.</p>
|
||
<p id="dns_usermanual_0007__p1032122565311">For more information about the types of record sets, see <a href="dns_usermanual_0601.html">Record Set Types and Configuration Rules</a>.</p>
|
||
</div>
|
||
<div class="section" id="dns_usermanual_0007__section10284161715528"><h4 class="sectiontitle">Prerequisites</h4><p id="dns_usermanual_0007__p099883815114">You have a website, web application, or cloud server and obtained an IPv4 address.</p>
|
||
</div>
|
||
<div class="section" id="dns_usermanual_0007__section3649104165212"><h4 class="sectiontitle"><strong id="dns_usermanual_0007__b16521114114118">Procedure</strong></h4><ol id="dns_usermanual_0007__ol59320072113848"><li id="dns_usermanual_0007__en-us_topic_0035467699_li52833639155823">Log in to the management console.</li><li id="dns_usermanual_0007__en-us_topic_0035467699_li52641116155830">In the service list, choose <strong id="dns_usermanual_0007__dns_qs_0006_b61191316145"><span id="dns_usermanual_0007__dns_qs_0006_en-us_topic_0138290753_text142541144194510">Network</span><span id="dns_usermanual_0007__dns_qs_0006_en-us_topic_0138290753_text155146154515"></span></strong> > <strong id="dns_usermanual_0007__dns_qs_0006_b14571104062010">Domain Name Service</strong>.<p id="dns_usermanual_0007__dns_qs_0006_en-us_topic_0138290753_en-us_topic_0035467699_p179595731633">The DNS console is displayed.</p>
|
||
</li><li id="dns_usermanual_0007__li61395879115716">In the navigation pane, choose <strong id="dns_usermanual_0007__b25471535463">Public Zones</strong> or <strong id="dns_usermanual_0007__b18400277463">Private Zones</strong>.<p id="dns_usermanual_0007__p4157489104157">The zone list is displayed.</p>
|
||
</li><li id="dns_usermanual_0007__li45255317204023">(Optional) If you have selected <strong id="dns_usermanual_0007__b84235270695236">Private Zones</strong>, click <span><img id="dns_usermanual_0007__image173881631115111" src="en-us_image_0000001906653140.png"></span> on the upper left corner to select the region and project.</li><li id="dns_usermanual_0007__li57832421115837">Click the domain name.</li><li id="dns_usermanual_0007__li147602027144118">Click <strong id="dns_usermanual_0007__b1360114185916">Add Record Set</strong>.<p id="dns_usermanual_0007__a57041818ee3b4a18801b83932fce907b">The <strong id="dns_usermanual_0007__b1260184125913">Add Record Set</strong> dialog box is displayed.</p>
|
||
</li><li id="dns_usermanual_0007__li613684841277">Configure the parameters based on <a href="#dns_usermanual_0007__table219785892310">Table 1</a>.
|
||
<div class="tablenoborder"><a name="dns_usermanual_0007__table219785892310"></a><a name="table219785892310"></a><table cellpadding="4" cellspacing="0" summary="" id="dns_usermanual_0007__table219785892310" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Parameters for adding an A record set</caption><thead align="left"><tr id="dns_usermanual_0007__row01931258112316"><th align="left" class="cellrowborder" valign="top" width="16%" id="mcps1.3.3.2.7.2.2.4.1.1"><p id="dns_usermanual_0007__p0193658172318"><strong id="dns_usermanual_0007__b16179376213">Parameter</strong></p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="63%" id="mcps1.3.3.2.7.2.2.4.1.2"><p id="dns_usermanual_0007__p119395892316"><strong id="dns_usermanual_0007__b19171637142113">Description</strong></p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="21%" id="mcps1.3.3.2.7.2.2.4.1.3"><p id="dns_usermanual_0007__p1419385816231"><strong id="dns_usermanual_0007__b1718173712116">Example Value</strong></p>
|
||
</th>
|
||
</tr>
|
||
</thead>
|
||
<tbody><tr id="dns_usermanual_0007__row191931585230"><td class="cellrowborder" valign="top" width="16%" headers="mcps1.3.3.2.7.2.2.4.1.1 "><p id="dns_usermanual_0007__p18193155813234">Name</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="63%" headers="mcps1.3.3.2.7.2.2.4.1.2 "><p id="dns_usermanual_0007__p1193205814232">Prefix of the domain name to be resolved.</p>
|
||
<p id="dns_usermanual_0007__p9491202813279">For example, if the domain name is <strong id="dns_usermanual_0007__b10331683433">example.com</strong>, the prefix can be as follows:</p>
|
||
<ul id="dns_usermanual_0007__ul74911928142713"><li id="dns_usermanual_0007__li74912028142710"><strong id="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_0007__li7403112285516">Left blank: The domain name is example.com.<p id="dns_usermanual_0007__p210152475518"><a name="dns_usermanual_0007__li7403112285516"></a><a name="li7403112285516"></a>The <strong id="dns_usermanual_0007__b1244921444616">Name</strong> field cannot be set to an at sign (@). Just leave it blank.</p>
|
||
</li><li id="dns_usermanual_0007__li1749112284277"><strong id="dns_usermanual_0007__b159141815184510">abc</strong>: The domain name is abc.example.com, a subdomain of example.com.</li><li id="dns_usermanual_0007__li20491028142718"><strong id="dns_usermanual_0007__b510014054612">mail</strong>: The domain name is mail.example.com, which is typically used for email servers.</li><li id="dns_usermanual_0007__li184910286279"><strong id="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="21%" headers="mcps1.3.3.2.7.2.2.4.1.3 "><p id="dns_usermanual_0007__p181931058152317">www</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="dns_usermanual_0007__row1195175852312"><td class="cellrowborder" valign="top" width="16%" headers="mcps1.3.3.2.7.2.2.4.1.1 "><p id="dns_usermanual_0007__p1019517585235">Type</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="63%" headers="mcps1.3.3.2.7.2.2.4.1.2 "><p id="dns_usermanual_0007__p9195175822316">Type of the record set.</p>
|
||
<p id="dns_usermanual_0007__p8911154710176">A message may be displayed indicating that the record set you are trying to add conflicts with an existing record set.</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="21%" headers="mcps1.3.3.2.7.2.2.4.1.3 "><p id="dns_usermanual_0007__p181951958152315">A – Map domains to IPv4 addresses</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="dns_usermanual_0007__row7195185892312"><td class="cellrowborder" valign="top" width="16%" headers="mcps1.3.3.2.7.2.2.4.1.1 "><p id="dns_usermanual_0007__p5195185822318">TTL (s)</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="63%" headers="mcps1.3.3.2.7.2.2.4.1.2 "><p id="dns_usermanual_0007__p01951585234">Cache duration of the record set on a local DNS server, in seconds.</p>
|
||
<p id="dns_usermanual_0007__p14211201373218">The value ranges from <strong id="dns_usermanual_0007__b12340162774812">1</strong> to <strong id="dns_usermanual_0007__b8804142484815">2147483647</strong>, and the default is <strong id="dns_usermanual_0007__b986894618157">300</strong>.</p>
|
||
<p id="dns_usermanual_0007__p2225120103717">If your service address changes frequently, set TTL to a smaller value.</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="21%" headers="mcps1.3.3.2.7.2.2.4.1.3 "><p id="dns_usermanual_0007__p16195115816233">300</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="dns_usermanual_0007__row17195105813235"><td class="cellrowborder" valign="top" width="16%" headers="mcps1.3.3.2.7.2.2.4.1.1 "><p id="dns_usermanual_0007__p319514581239">Value</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="63%" headers="mcps1.3.3.2.7.2.2.4.1.2 "><p id="dns_usermanual_0007__p191823152340">IPv4 addresses mapped to the domain name.</p>
|
||
<p id="dns_usermanual_0007__p16575194113336">You can enter a maximum of 50 record values, each on a separate line.</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="21%" headers="mcps1.3.3.2.7.2.2.4.1.3 "><p id="dns_usermanual_0007__p7195358102310">192.168.12.2</p>
|
||
<p id="dns_usermanual_0007__p1195658142314">192.168.12.3</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="dns_usermanual_0007__row1319511584234"><td class="cellrowborder" valign="top" width="16%" headers="mcps1.3.3.2.7.2.2.4.1.1 "><p id="dns_usermanual_0007__p131952588235">Tag</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="63%" headers="mcps1.3.3.2.7.2.2.4.1.2 "><p id="dns_usermanual_0007__p421116377381">(Optional) Identifier of a record set. Each tag contains a key and a value. You can add a maximum of 20 tags to a record set.</p>
|
||
<p id="dns_usermanual_0007__p111951858102315">For details about tag key and value requirements, see <a href="#dns_usermanual_0007__table191971158112315">Table 2</a>.</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="21%" headers="mcps1.3.3.2.7.2.2.4.1.3 "><p id="dns_usermanual_0007__p91953585235">example_key1</p>
|
||
<p id="dns_usermanual_0007__p1195358102312">example_value1</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="dns_usermanual_0007__row8195185872311"><td class="cellrowborder" valign="top" width="16%" headers="mcps1.3.3.2.7.2.2.4.1.1 "><p id="dns_usermanual_0007__p6195145862318">Description</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="63%" headers="mcps1.3.3.2.7.2.2.4.1.2 "><p id="dns_usermanual_0007__p17620737142812">(Optional) Supplementary information about the record set.</p>
|
||
<p id="dns_usermanual_0007__p17140145133253">You can enter a maximum of 255 characters.</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="21%" headers="mcps1.3.3.2.7.2.2.4.1.3 "><p id="dns_usermanual_0007__p6195125819231">N/A</p>
|
||
</td>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
</div>
|
||
|
||
<div class="tablenoborder"><a name="dns_usermanual_0007__table191971158112315"></a><a name="table191971158112315"></a><table cellpadding="4" cellspacing="0" summary="" id="dns_usermanual_0007__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_0007__r4f5fd2fecc60424eb20075f35572eeb0"><th align="left" class="cellrowborder" valign="top" width="16%" id="mcps1.3.3.2.7.3.2.4.1.1"><p id="dns_usermanual_0007__en-us_topic_0035467699_p132908358173"><strong id="dns_usermanual_0007__b20351137152119">Parameter</strong></p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="62%" id="mcps1.3.3.2.7.3.2.4.1.2"><p id="dns_usermanual_0007__aa34a0c0cbae34a23b63e1882cf4a2c91"><strong id="dns_usermanual_0007__b842352706171418">Requirements</strong></p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="22%" id="mcps1.3.3.2.7.3.2.4.1.3"><p id="dns_usermanual_0007__aece629313e384a698796b7aff7821561">Example Value</p>
|
||
</th>
|
||
</tr>
|
||
</thead>
|
||
<tbody><tr id="dns_usermanual_0007__rbb2718429c5141319dde3ac939f97ba9"><td class="cellrowborder" valign="top" width="16%" headers="mcps1.3.3.2.7.3.2.4.1.1 "><p id="dns_usermanual_0007__ae8044150f5804b42bd8632ccced6b72a">Key</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="62%" headers="mcps1.3.3.2.7.3.2.4.1.2 "><ul id="dns_usermanual_0007__en-us_topic_0035467699_ul46253231183"><li id="dns_usermanual_0007__ld4d43cb49f93464d9789eac5bd9e5f36">Cannot be left blank.</li><li id="dns_usermanual_0007__ldcb5af7969f74a64877bb92ab6cd0a40">Must be unique for each resource.</li><li id="dns_usermanual_0007__lf50b032d8e2640b4a6c1d5658daa90cf">Can contain a maximum of 36 characters.</li><li id="dns_usermanual_0007__l9766567c2b2a4e2c9075dd7ae564e97b">Can contain only letters, digits, hyphens (-), at signs (@), and underscores (_).</li></ul>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="22%" headers="mcps1.3.3.2.7.3.2.4.1.3 "><p id="dns_usermanual_0007__a6535efd5b28a446992be7db56bdbca33">example_key1</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="dns_usermanual_0007__r89eaf5034c26447c8057d051da26301c"><td class="cellrowborder" valign="top" width="16%" headers="mcps1.3.3.2.7.3.2.4.1.1 "><p id="dns_usermanual_0007__afc435752da464fffb58242f1410f227f">Value</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="62%" headers="mcps1.3.3.2.7.3.2.4.1.2 "><ul id="dns_usermanual_0007__u388a9174749341a8a916b0093d32bc13"><li id="dns_usermanual_0007__ld458706cbafd443eac83d3581f41a26e">Cannot be left blank.</li><li id="dns_usermanual_0007__l868cdcac8a1341fbaf4d2d69a2f57349">Can contain a maximum of 43 characters.</li><li id="dns_usermanual_0007__l9c52621309254b4b85042a22354a1195">Can contain only letters, digits, hyphens (-), at signs (@), and underscores (_).</li></ul>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="22%" headers="mcps1.3.3.2.7.3.2.4.1.3 "><p id="dns_usermanual_0007__en-us_topic_0035467699_p62904352179">example_value1</p>
|
||
</td>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
</div>
|
||
</li><li id="dns_usermanual_0007__li010614277123">Click <strong id="dns_usermanual_0007__en-us_topic_0089401572_b842352706163651">OK</strong>.</li><li id="dns_usermanual_0007__en-us_topic_0035467699_li4923490010251">Switch back to the <strong id="dns_usermanual_0007__dns_qs_0006_b196595717358">Record Sets</strong> tab.<p id="dns_usermanual_0007__dns_qs_0006_p121601730152714">The added record set is in the <strong id="dns_usermanual_0007__dns_qs_0006_b199714292810473">Normal</strong> state.</p>
|
||
</li></ol>
|
||
</div>
|
||
<div class="section" id="dns_usermanual_0007__section1485913521716"><h4 class="sectiontitle">Related Operations</h4><p id="dns_usermanual_0007__p205191601496">For details about how to configure A record sets, see <a href="en-us_topic_0035467699.html">Configuring a Public Zone</a>.</p>
|
||
</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>
|
||
|