Function Overview
Domain Name Service
Domain Name Service (DNS) is a highly available and scalable authoritative DNS service that translates domain names like www.example.com into IP addresses like 192.1.2.3, reliably directing end users to your applications.
DNS provides domain resolution for various scenarios, including resolution for public domain names, resolution for private domain names, reverse resolution, and intelligent resolution.
Public Domain Resolution
DNS allows you to host domain names that are registered with domain name registrars and route traffic on the Internet.
Private Domain Resolution
DNS provides resolution for domain names that are used within VPCs. By hosting private domain names, your ECSs can communicate with each other without connecting to the Internet. You can also directly access cloud services, such as OBS and SMN, through the private DNS server.
Reverse Resolution
Reverse resolution involves obtaining a domain name based on an IP address and is typically used to improve credibility of email servers.
After a recipient server receives an email, it checks whether the IP address and domain name of the sender server are trustworthy and determines whether the email is spam. If the recipient server fails to obtain the domain name mapped to the sender's IP address, it considers that the email is sent by a malicious host and rejects it. Therefore, it is necessary to map IP addresses of your email servers to domain names by adding PTR records.
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.
Intelligent Resolution
Usually, a DNS server returns the same resolution result to visitors from different networks or geographic locations. However, in cross-network or cross-region access, this would lead to long latency and poor user experience. DNS provides intelligent resolution to meet requirements of various scenarios.
Traffic routing by carrier or geographic location
You can configure ISP lines or region lines when you add record sets. The DNS server returns different IP addresses to visitors based on their carrier networks or locations.
Traffic routing based on weights
When your site has multiple servers and each server has an independent IP address, you can use weighted polling to distribute a certain proportion of requests to distribute requests to different servers.
Configuring ISP Lines for Record Sets
Application Scenarios
Service Overview
-
Domain Name Service (DNS) is a highly available and scalable authoritative DNS service that translates domain names (such as www.example.com) into IP addresses (such as 192.1.2.3) required for network connection.
Domain Name Service (DNS) is a highly available and scalable authoritative DNS service that translates domain names (such as www.example.com) into IP addresses (such as 192.1.2.3) required for network connection.
-
A public zone contains information about how a domain name and its subdomains are translated into IP addresses for routing traffic over the Internet. This allows end users to access your website or application over the Internet using your domain name.
A public zone contains information about how a domain name and its subdomains are translated into IP addresses for routing traffic over the Internet. This allows end users to access your website or application over the Internet using your domain name.
-
A private zone contains information about how to map a domain name (such as ecs.com) and its subdomains used within one or more VPCs to private IP addresses (such as 192.168.1.1).
A private zone contains information about how to map a domain name (such as ecs.com) and its subdomains used within one or more VPCs to private IP addresses (such as 192.168.1.1).
-
Reverse resolution means to obtain a domain name based on an IP address. This is typically used to affirm the credibility of email servers.
Reverse resolution means to obtain a domain name based on an IP address. This is typically used to affirm the credibility of email servers.
-
Usually, a DNS server returns the same resolution result to visitors from different networks or geographic locations.
Usually, a DNS server returns the same resolution result to visitors from different networks or geographic locations.
-
To assign DNS permissions to a user group, specify the scope as region-specific projects and select projects for the permissions to take effect.
To assign DNS permissions to a user group, specify the scope as region-specific projects and select projects for the permissions to take effect.