检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
Configuring Private Domain Names for ECSs for Smooth ECS Switchover Overview Scenario If one of your ECSs is malfunctioning and you need to use the backup ECS, but you have not configured private domain names for the two ECSs, you have to change the private IP address in the code
Viewing the DNS Server Addresses for an ECS Go to the ECS list page. In the ECS list, click the name of the target ECS. On the Summary tab of the ECS details page, click the VPC name. The Virtual Private Cloud page is displayed.
You can deploy an ECS as an email server and add a PTR record to map the EIP bound to the ECS to the domain name used by the email server. All regions.
How Do I Change Default DNS Servers of an ECS to Huawei Cloud Private DNS Servers? How Can I Access an ECS Using Its Host Name? How Can I Map the Private IP Address of an ECS to a Domain Name? How Can I Use a Private Domain Name to Route Internet Traffic?
Deploy an ECS and obtain its VPC name and private IP address. Step 1: Create a Private Zone Before using a private domain name (for example, example.com) to access an ECS, you need to create a private zone. Go to the Private Zones page.
How Can I Map the Private IP Address of an ECS to a Domain Name? You can configure PTR records to allow end users to query domain names based on IP addresses.
Total number of requests for all ECSs in a VPC Unlimited - Maximum number of recursive resolution requests for a single ECS in a VPC 600 per second For a single ECS in a VPC, the maximum number of external recursive requests is 600 per second.
If you set the name of an ECS to ecs01, you can create a private zone for ecs01 and add an A record to map ecs01 to the private IP address of the ECS so that the ECS can be accessed using its host name. Procedure Go to the Private Zones page. Click Create Private Zone.
In the following figure, an ECS serves as an email server, and a PTR record is configured to map the EIP of the ECS to the domain name configured for accessing the email server. Figure 1 Reverse resolution Figure 1 shows only the process for reverse resolution.
To make your ECS accessible within the private network, change the default DNS servers of the ECS to private DNS servers, see How Do I Change Default DNS Servers of an ECS to Private DNS Servers Provided by the DNS Service? Figure 3 Accessing cloud services
The following describes how an ECS accesses a website using a domain name. If the domain name is a private domain name you configure on the DNS console or is the domain name of a cloud service, private DNS directly returns the mapped IP address.
Applicable scenarios Managing ECS host names Replacing an ECS without service interruption Accessing cloud resources Commercial use Private Zone April 2018 No.
Applicable scenarios Managing ECS host names Replacing an ECS without service interruption Accessing cloud resources Commercial use Private Zone April 2018 No.
Public services, such as Elastic Cloud Server (ECS), Elastic Volume Service (EVS), Object Storage Service (OBS), Virtual Private Cloud (VPC), Elastic IP (EIP), and Image Management Service (IMS), are shared within the same region.
Public services, such as Elastic Cloud Server (ECS), Elastic Volume Service (EVS), Object Storage Service (OBS), Virtual Private Cloud (VPC), Elastic IP (EIP), and Image Management Service (IMS), are shared within the same region.
Table 1 DNS and other services Related Service Description Reference Elastic Cloud Server (ECS) DNS can resolve the domain names to IP addresses of ECSs where a website or application is deployed so that end users can use domain name to access the website or application.
If ECS 2 in VPC A accesses ecs3.example.com, the private DNS server returns 192.168.2.3, which is the IP address of ECS 3 in VPC B. There is no VPC peering connection between VPC A and VPC B. ECS 2 cannot access ECS 3 in VPC B using this IP address. Parent topic: Private Zones
Set the DNS server addresses of the VPC subnet where the ECS resides to the private DNS server addresses used in each region. For details, see How Do I Change Default DNS Servers of an ECS to Huawei Cloud Private DNS Servers?
If you use an ECS as an email server, configure a PTR record to map the EIP of the ECS to the domain name. PTR records take effect only after the name servers are configured.
If you use an ECS as an email server, configure a PTR record to map the EIP of the ECS to the domain name. This following are operations for you to add a PTR record for a cloud resource, such as ECS.