doc-exports/docs/dns/umn/dns_usermanual_0015.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

114 lines
13 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_0015"></a><a name="dns_usermanual_0015"></a>
<h1 class="topictitle1">Adding a PTR Record</h1>
<div id="body1548760902270"><div class="section" id="dns_usermanual_0015__section187281084528"><h4 class="sectiontitle"><strong id="dns_usermanual_0015__b105551532521">Scenarios</strong></h4><p id="dns_usermanual_0015__p1849014481545">You can create PTR records to map private IP addresses to private domain names.</p>
<p id="dns_usermanual_0015__p1032122565311">For details about other record set types, see <a href="dns_usermanual_0035.html">Overview</a>.</p>
</div>
<div class="section" id="dns_usermanual_0015__section10284161715528"><h4 class="sectiontitle">Constraints</h4><ul id="dns_usermanual_0015__ul1724235164811"><li id="dns_usermanual_0015__li52434511483">You can create PTR records only in private zones.</li><li id="dns_usermanual_0015__li866215587486">PTR records take effect only in a private zone whose domain name suffix is in-addr.arpa.<p id="dns_usermanual_0015__p3335115620371"><a name="dns_usermanual_0015__li866215587486"></a><a name="li866215587486"></a>For details about how to add a PTR record for a public domain name, see <a href="en-us_topic_0077500015.html">Creating a PTR Record</a>.</p>
</li></ul>
</div>
<div class="section" id="dns_usermanual_0015__section46571720104919"><h4 class="sectiontitle"><strong id="dns_usermanual_0015__b135897422374">Procedure</strong></h4><ol id="dns_usermanual_0015__ol17542104182445"><li id="dns_usermanual_0015__li21168153182445">Log in to the management console.</li><li id="dns_usermanual_0015__li16568687183919">In the service list, choose <strong id="dns_usermanual_0015__en-us_topic_0035467699_b253764512375">Network</strong> &gt; <strong id="dns_usermanual_0015__en-us_topic_0035467699_b561505711379">Domain Name Service</strong>.<p id="dns_usermanual_0015__en-us_topic_0035467699_en-us_topic_0035467699_p179595731633">The DNS console is displayed.</p>
</li></ol><ol start="3" id="dns_usermanual_0015__ol44805021215"><li id="dns_usermanual_0015__li61395879115716">In the navigation pane, choose <strong id="dns_usermanual_0015__dns_qs_0006_b842352706202035">Private Zones</strong>.<p id="dns_usermanual_0015__dns_qs_0006_en-us_topic_0035467699_p5173372716550">The <strong id="dns_usermanual_0015__dns_qs_0006_b84235270618511">Private Zones</strong> page is displayed.</p>
</li><li id="dns_usermanual_0015__li15599121202015">Click <span><img id="dns_usermanual_0015__dns_qs_0006_image18511144023210" src="en-us_image_0148391090.png"></span> in the upper left corner and select the desired region and project.</li><li id="dns_usermanual_0015__li57832421115837">Click the zone name.</li><li id="dns_usermanual_0015__li147602027144118">Click <strong id="dns_usermanual_0015__dns_usermanual_0007_b1360114185916">Add Record Set</strong>.<p id="dns_usermanual_0015__dns_usermanual_0007_a57041818ee3b4a18801b83932fce907b">The <strong id="dns_usermanual_0015__dns_usermanual_0007_b1260184125913">Add Record Set</strong> dialog box is displayed.</p>
</li></ol><ol start="7" id="dns_usermanual_0015__ol59320072113848"><li id="dns_usermanual_0015__li613684841277">Set required parameters based on <a href="#dns_usermanual_0015__table6260239895544">Table 1</a>.
<div class="tablenoborder"><a name="dns_usermanual_0015__table6260239895544"></a><a name="table6260239895544"></a><table cellpadding="4" cellspacing="0" summary="" id="dns_usermanual_0015__table6260239895544" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Parameters for adding a PTR record</caption><thead align="left"><tr id="dns_usermanual_0015__row897191795544"><th align="left" class="cellrowborder" valign="top" width="16%" id="mcps1.3.3.5.1.2.2.4.1.1"><p id="dns_usermanual_0015__p5563669295544"><strong>Parameter</strong></p>
</th>
<th align="left" class="cellrowborder" valign="top" width="62%" id="mcps1.3.3.5.1.2.2.4.1.2"><p id="dns_usermanual_0015__p1027823295544"><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_0015__p2723046495544"><strong>Example Value</strong></p>
</th>
</tr>
</thead>
<tbody><tr id="dns_usermanual_0015__row5818398995544"><td class="cellrowborder" valign="top" width="16%" headers="mcps1.3.3.5.1.2.2.4.1.1 "><p id="dns_usermanual_0015__p1528265495544">Name</p>
</td>
<td class="cellrowborder" valign="top" width="62%" headers="mcps1.3.3.5.1.2.2.4.1.2 "><p id="dns_usermanual_0015__p2993546095544">Name of the PTR record </p>
</td>
<td class="cellrowborder" valign="top" width="22%" headers="mcps1.3.3.5.1.2.2.4.1.3 "><p id="dns_usermanual_0015__p1150727695544">10.1.168</p>
<p id="dns_usermanual_0015__p3645662495544">For example, if the IP address is 192.168.1.10, the domain name in the PTR record is <strong id="dns_usermanual_0015__b1994811564454">10.1.168.192.in-addr.arpa</strong>.</p>
<ul id="dns_usermanual_0015__ul772510438411"><li id="dns_usermanual_0015__li16725124312418">If the private zone name is 192.in-addr.arpa, enter <strong id="dns_usermanual_0015__b84235270615827">10.1.168</strong> in the box.</li><li id="dns_usermanual_0015__li16272201077">If the private zone name is 1.168.192.in-addr.arpa, enter <strong id="dns_usermanual_0015__b2019836890">10</strong> in the box.</li></ul>
</td>
</tr>
<tr id="dns_usermanual_0015__row5967416095544"><td class="cellrowborder" valign="top" width="16%" headers="mcps1.3.3.5.1.2.2.4.1.1 "><p id="dns_usermanual_0015__p176882195544">Type</p>
</td>
<td class="cellrowborder" valign="top" width="62%" headers="mcps1.3.3.5.1.2.2.4.1.2 "><p id="dns_usermanual_0015__p905683595544">Type of the record set</p>
<p id="dns_usermanual_0015__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_0015__p17976737164517">PTR Map IP addresses to domains</p>
</td>
</tr>
<tr id="dns_usermanual_0015__row2576416995544"><td class="cellrowborder" valign="top" width="16%" headers="mcps1.3.3.5.1.2.2.4.1.1 "><p id="dns_usermanual_0015__p652296395544">TTL (s)</p>
</td>
<td class="cellrowborder" valign="top" width="62%" headers="mcps1.3.3.5.1.2.2.4.1.2 "><p id="dns_usermanual_0015__p5888275712739">Cache duration of the record set on a local DNS server, in seconds</p>
<p id="dns_usermanual_0015__p103873299529">The value ranges from <strong id="dns_usermanual_0015__dns_usermanual_0007_b12340162774812">1</strong> to <strong id="dns_usermanual_0015__dns_usermanual_0007_b8804142484815">2147483647</strong>, and the default is <strong id="dns_usermanual_0015__dns_usermanual_0007_b986894618157">300</strong>.</p>
<p id="dns_usermanual_0015__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_0015__p477403312739">The default value is <strong id="dns_usermanual_0015__dns_usermanual_0007_b13495124172916">300</strong>, which is, 5 minutes.</p>
</td>
</tr>
<tr id="dns_usermanual_0015__row3669394995544"><td class="cellrowborder" valign="top" width="16%" headers="mcps1.3.3.5.1.2.2.4.1.1 "><p id="dns_usermanual_0015__p1941991095544">Value</p>
</td>
<td class="cellrowborder" valign="top" width="62%" headers="mcps1.3.3.5.1.2.2.4.1.2 "><p id="dns_usermanual_0015__p2950884795544">Private domain name mapped to the private IP address. 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_0015__p4833148395544">host.example.com.</p>
</td>
</tr>
<tr id="dns_usermanual_0015__row257814332309"><td class="cellrowborder" valign="top" width="16%" headers="mcps1.3.3.5.1.2.2.4.1.1 "><p id="dns_usermanual_0015__p125271425301">Tags</p>
</td>
<td class="cellrowborder" valign="top" width="62%" headers="mcps1.3.3.5.1.2.2.4.1.2 "><p id="dns_usermanual_0015__p1414134716167">(Optional) Identifier of a resource</p>
<p id="dns_usermanual_0015__p98832015181812">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_0015__dns_usermanual_0007_b1487533711226">Other Settings</strong>.</p>
<p id="dns_usermanual_0015__p1353994283013">For details about tag key and value requirements, see <a href="#dns_usermanual_0015__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_0015__p165498428308">example_key1</p>
<p id="dns_usermanual_0015__p14553184210305">example_value1</p>
</td>
</tr>
<tr id="dns_usermanual_0015__row3233016395544"><td class="cellrowborder" valign="top" width="16%" headers="mcps1.3.3.5.1.2.2.4.1.1 "><p id="dns_usermanual_0015__p149754295544">Description</p>
</td>
<td class="cellrowborder" valign="top" width="62%" headers="mcps1.3.3.5.1.2.2.4.1.2 "><p id="dns_usermanual_0015__p1143782915343">(Optional) Supplementary information about the record set</p>
<p id="dns_usermanual_0015__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_0015__p2748282695544">-</p>
</td>
</tr>
</tbody>
</table>
</div>
<div class="tablenoborder"><a name="dns_usermanual_0015__table191971158112315"></a><a name="table191971158112315"></a><table cellpadding="4" cellspacing="0" summary="" id="dns_usermanual_0015__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_0015__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_0015__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_0015__dns_usermanual_0007_aa34a0c0cbae34a23b63e1882cf4a2c91"><strong id="dns_usermanual_0015__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_0015__dns_usermanual_0007_aece629313e384a698796b7aff7821561">Example Value</p>
</th>
</tr>
</thead>
<tbody><tr id="dns_usermanual_0015__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_0015__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_0015__dns_usermanual_0007_en-us_topic_0035467699_ul46253231183"><li id="dns_usermanual_0015__dns_usermanual_0007_ld4d43cb49f93464d9789eac5bd9e5f36">Cannot be left blank.</li><li id="dns_usermanual_0015__dns_usermanual_0007_ldcb5af7969f74a64877bb92ab6cd0a40">Must be unique for each resource.</li><li id="dns_usermanual_0015__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_0015__dns_usermanual_0007_a6535efd5b28a446992be7db56bdbca33">example_key1</p>
</td>
</tr>
<tr id="dns_usermanual_0015__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_0015__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_0015__dns_usermanual_0007_u388a9174749341a8a916b0093d32bc13"><li id="dns_usermanual_0015__dns_usermanual_0007_ld458706cbafd443eac83d3581f41a26e">Cannot be left blank.</li><li id="dns_usermanual_0015__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_0015__dns_usermanual_0007_en-us_topic_0035467699_p62904352179">example_value1</p>
</td>
</tr>
</tbody>
</table>
</div>
</li><li id="dns_usermanual_0015__li010614277123">Click <strong id="dns_usermanual_0015__b18382134311182">OK</strong>.</li><li id="dns_usermanual_0015__en-us_topic_0035467699_li4923490010251">Switch back to the <strong id="dns_usermanual_0015__dns_qs_0006_b551763234215">Record Sets</strong> page.<p id="dns_usermanual_0015__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_0015__dns_qs_0006_b73956595510">Normal</strong>.</p>
</li></ol>
</div>
<div class="section" id="dns_usermanual_0015__section18984203717105"><h4 class="sectiontitle">Related Operations</h4><p id="dns_usermanual_0015__p46293118373">For more information, see <a href="dns_faq_031.html">How Can I Configure a PTR Record to Map the IP Address of an ECS to a Domain Name?</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>