检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 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
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.
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.
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.
Checking the Impact of NSCD Caching Performing a dialing test when NSCD is stopped Run the following command on the ECS to capture UDP packets on port 53: tcpdump -i any udp and port 53 When NSCD is stopped, run the following command on the ECS for three consecutive times. ping -c
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
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
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?
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 name of the VPC subnet associated with the ECS NIC. In the Gateway and DNS Information area, view the DNS server addresses used by the ECS.
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?
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.
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.
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.
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.
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.
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.
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.
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.
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.