What Is DNS?
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 22.214.171.124) required for network connection. The DNS service allows users to visit your websites or web applications with domain names.
The DNS service is free and is enabled by default.
The DNS service provides the following functions:
- Public domain name resolution
Maps domain names to public IP addresses so that your users can access your website or web applications over the Internet.
- Private domain name resolution
Translates private domain names into private IP addresses to facilitate access to cloud resources within VPCs.
- Reverse resolution
Obtains a domain name based on an IP address. Reverse resolution, or reverse DNS lookup, is typically used to affirm the credibility of email servers.
- Intelligent resolution
Returns different resolution results for the same domain name based on the carrier networks or geographic locations of user IP addresses. This significantly reduces network latency for users from different carrier networks and geographic locations.
The DNS service has the following advantages:
- High performance
- 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 a Private Domain Name for an ECS.
- Smooth service migration
You can migrate an in-use website domain name to the Huawei Cloud DNS service. To ensure that your website services are not interrupted during the migration, we will create a public zone and add DNS record sets for your website in advance.
- Isolation of core data
Accessing the DNS Service
The cloud platform provides a web-based management console as well as REST APIs through which you can access the DNS service.
- Management console
- If you have already registered an account, log in to the management console, hover on the upper left to display Service List, and choose Networking > Domain Name Service.
- Otherwise, register an account with Huawei Cloud by following the instructions in Quick Start and perform the preceding step.
With a few steps, you can start using the DNS service for domain name resolution.
REST APIs are provided for accessing the DNS service. You can also use the provided APIs to integrate DNS into a third-party system for secondary development. For details, see the Domain Name Service API Reference.