Private DNS Resolution
What Is Private DNS Resolution?
Private DNS resolution translates domain names like ecs.com and their subdomains used within one or more VPCs to private IP addresses (such as 192.168.1.1). With private DNS resolution, ECSs within a VPC can communicate with each other using private domain names and access cloud services, such as OBS and SMN, over a private network.
Figure 1 shows how a private domain name is resolved by a private DNS server.
When an ECS in the VPC requests to access a private domain name, the private DNS server directly returns a private IP address mapped to the domain name.
Private zones allow you to:
- Create custom private domain names in your VPCs.
- Associate one or more VPCs with a private zone.
- Use private domain names to access ECSs as well as OBS and SMN resources in the VPCs more quickly, preventing DNS spoofing.
Scenarios
Private zones are applicable to the following scenarios:
Product Advantages
- Easy access to cloud resources
Your ECSs can communicate with each other and with other resources within VPCs using private domain names. Traffic is kept within your internal network, which reduces network latency and improves security.
For more details, see Configuring Private Domain Names for ECSs.
- Isolation of core data
A private DNS server provides domain name resolution for ECSs carrying core data, enabling secure, controlled access to such data. You do not need to bind EIPs to these ECSs.
Functions
Function |
Description |
---|---|
Private zone |
A private zone contains records that specify how you want the DNS service to respond DNS queries for a domain name and its subdomains within one or more VPCs. DNS allows you to create, modify, delete, and view private zones, associate private zones with VPCs, and disassociate private zones from VPCs.
For details, see Overview. |
Associating a private zone with or disassociating a private zone from a VPC |
You can associate a private zone with a VPC or disassociate a private zone from a VPC. For details, see Associating a VPC with a Private Zone and Disassociating a VPC from a Private Zone. |
Record set |
A record set is a collection of resource records that belong to the same domain name. A record set defines the resolution type and value of a domain name. You can add, modify, delete, or view A, CNAME, MX, AAAA, TXT, PTR, and SRV record sets for private zones. For details, see Overview. |
Wildcard DNS record set |
You can add record sets for all subdomains of a private domain name. DNS provides resolution services for all subdomains. For details, see Creating a Wildcard DNS Record Set. |
TTL |
TTL is short for time to live, which specifies how long a record set is cached on a local DNS server. It is measured in seconds. The TTL value ranges from 1 to 2147483647. |
Helpful Links
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot