Application Scenarios

General DNS Resolution

General DNS Resolution

DNS enables you to map domain names to instances such as ECSs, OBS buckets, and load balancers.

Advantages

  • High Concurrency

    A single node can handle millions of concurrent queries.

  • Multiple Record Types

    You can add multiple types of record sets. 

  • Quick Operations

    You can import up to 500 record sets on the DNS console. The record sets you add are effective within a minute.

Related Services
Service Management

Service Management

You can create public and private zones for the same domain name and deploy your applications online and offline.

Advantages

  • Smooth Deployment

    You can easily deploy applications online and offline and seamlessly update offline changes to the online applications.

  • Easy Maintenance

    You can test offline applications in a VPC without interrupting online applications.

Related Services
Application Deployment

Application Deployment

You can map private IP addresses of servers to private domain names in specific VPCs, thereby allowing the servers to communicate by using domain names. 

Advantages

  • No Code Modification

    If a server becomes faulty, you only need to change its IP address in the DNS record set. You do not need to change the code. 

  • Free from DNS Spoofing

    You do not need to worry about DNS spoofing because private domain names are not exposed to the Internet.

  • Lower Latency

    A private DNS server directly responds to requests for private domain names, ensuring lower latency for your end users.

Related Services

Service Overview

  • What Is DNS?

    Domain Name Service (DNS) is a highly available and scalable authoritative Domain Name System (DNS) web service that translates domain names (such as www.example.com) into IP addresses (such as 192.1.2.3) required for network connection. The DNS service allows end users to visit your websites or web applications with domain names.

    Domain Name Service (DNS) is a highly available and scalable authoritative Domain Name System (DNS) web service that translates domain names (such as www.example.com) into IP addresses (such as 192.1.2.3) required for network connection. The DNS service allows end users to visit your websites or web applications with domain names.

  • DNS Infographics

    A public zone contains information about how a domain name and its subdomains are translated into IP addresses for routing traffic over the Internet.

    Huawei Cloud Domain Name Service (DNS) allows end users to access your websites or email servers over the Internet using your domain names.

    A public zone contains information about how a domain name and its subdomains are translated into IP addresses for routing traffic over the Internet.

    Huawei Cloud Domain Name Service (DNS) allows end users to access your websites or email servers over the Internet using your domain names.

  • Permissions Management

    To assign DNS permissions to a user group, specify the scope as region-specific projects and select projects for the permissions to take effect. If All projects is selected, the permissions will take effect for the user group in all region-specific projects. When accessing the DNS service, you need to switch to a region where you have been authorized to use DNS resources.

    To assign DNS permissions to a user group, specify the scope as region-specific projects and select projects for the permissions to take effect. If All projects is selected, the permissions will take effect for the user group in all region-specific projects. When accessing the DNS service, you need to switch to a region where you have been authorized to use DNS resources.

  • Functions

    Before you use the DNS service, you'd better get familiar with Product Concepts to better understand the functions.

    Before you use the DNS service, you'd better get familiar with Product Concepts to better understand the functions.

  • Reverse Resolution

    Reverse resolution, also reverse DNS lookup, resolves an IP address back to a host name. This is typically used to affirm the credibility of email servers.

    Reverse resolution, also reverse DNS lookup, resolves an IP address back to a host name. This is typically used to affirm the credibility of email servers.

  • Intelligent Resolution

    If end users access a domain name, DNS servers return the same IP address to the end users regardless of their networks or geographic locations.

    If end users access a domain name, DNS servers return the same IP address to the end users regardless of their networks or geographic locations.

User Guide

API Reference

Before You Start

Overview

Welcome to Domain Name Service API Reference. Domain Name Service (DNS) is highly available and scalable authoritative domain resolution service that translates domain names like www.example.com into IP addresses like 192.1.2.3 required for network connection. The DNS service allows users to visit your websites or web applications with domain names.

This document describes how to use APIs to perform operations such as creating, deleting, querying, or modifying DNS resources. For details about all supported operations, see API Overview.

Before you access DNS by calling APIs, get yourself familiar with DNS concepts. For details, see Service Overview.

API Calling

DNS supports REST APIs that can be called over HTTPS. For details about API calling, see Calling APIs.

Endpoints

An endpoint is the request address for calling an API. Endpoints vary depending on services and regions. For the endpoints of DNS, see Regions and Endpoints.

Notes and Constraints

The number of DNS resources you can create is determined by quota. To view or increase the quota, see Quota Adjustment.

For more details, see the constraints described in each API.

Concepts

Account

An account is created upon successful registration. The account has full access permissions for all of its cloud services and resources. It can be used to reset user passwords and grant user permissions. The account is a payment entity, which should not be used directly to perform routine management. For security purposes, create Identity and Access Management (IAM) users and grant them permissions for routine management.

User

An IAM user is created by an account in IAM to use cloud services. Each IAM user has its own identity credentials (password and access keys).

API authentication requires information such as the account name, username, and password.

Region

Regions are divided based on geographical location and network latency. 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. Regions are classified into universal regions and dedicated regions. A universal region provides universal cloud services for common tenants. A dedicated region provides specific services for specific tenants.

For details, see Region and AZ.

AZ

An AZ comprises of one or more physical data centers equipped with independent ventilation, fire, water, and electricity facilities. Computing, network, storage, and other resources in an AZ are logically divided into multiple clusters. AZs within a region are interconnected using high-speed optical fibers to allow you to build cross-AZ high-availability systems.

Project

A project corresponds to a region. Default projects are defined to group and physically isolate resources (including computing, storage, and network resources) across regions. Users can be granted permissions in a default project to access all resources under their accounts in the region associated with the project. If you need more refined access control, create subprojects under a default project and create resources in subprojects. Then you can assign users the permissions required to access only the resources in the specific subprojects.

Figure 1 Project isolation model

Enterprise project

Enterprise projects group and manage resources across regions. Resources in different enterprise projects are logically isolated. An enterprise project can contain resources of multiple regions, and resources can be added to or removed from enterprise projects.

For details about enterprise projects and about how to obtain enterprise project IDs, see Enterprise Management User Guide.

FAQ

FAQs

Terms & Conditions

活动对象:华为云电销客户及渠道伙伴客户可参与消费满送活动,其他客户参与前请咨询客户经理

活动时间: 2020年8月12日-2020年9月11日

活动期间,华为云用户通过活动页面购买云服务,或使用上云礼包优惠券在华为云官网新购云服务,累计新购实付付费金额达到一定额度,可兑换相应的实物礼品。活动优惠券可在本活动页面中“上云礼包”等方式获取,在华为云官网直接购买(未使用年中云钜惠活动优惠券)或参与其他活动的订单付费金额不计入统计范围内;

  • Does DNS Support Explicit and Implicit URLs?

    Huawei Cloud DNS does not support URL forwarding.

    Explicit and implicit URL forwarding is not performed over a standard DNS protocol, but 301 or 302 redirection over HTTP. You can resolve the domain name to the IP address of your cloud server, and then configure 301 or 302 redirection for the domain name on your web server, such as Nginx, Apache, and Internet Information Services (IIS).

  • How Many Domain Name Levels Does DNS Support?

    The DNS service supports two levels of public domain names.

    DNS supports the following levels for domain names with the .com suffix:

    1. Primary domain name, such as example.com
    2. Subdomain, such as www.example.com

    DNS supports the following levels for domain names with the .com.cn suffix:

    1. Primary domain name, such as example.com.cn
    2. Subdomain, such as www.example.com.cn
  • Why Can't My Website Be Accessed over HTTPS?

    If you want your website to be accessed over HTTPS, deploy an SSL certificate for the website.

  • How Can I Access an ECS Using Its Host Name?

    The DNS service allows you to create private zones for any top-level domain names in VPCs except .com.

    When you buy an ECS, you set a host name for it, for example, ecs01. You can then create a private zone named ecs01 and add an A record to map the host name (ecs01) of the ECS to its private IP address so that the ECS can be accessed using its host name.

    Procedure

    1. Log in to the management console.

    2. Hover the cursor over  in the upper left corner. In the service list, choose Networking > Domain Name Service.

    The DNS console is displayed.

    3. In the navigation pane on the left, choose Private Zones.

    The Private Zones page is displayed.

    4. Click  in the upper left corner and select the desired region and project.

    5. Click Create Private Zone. In the displayed dialog box, set the zone name to ecs01.

    6. Click OK.

    View the created private zone on the Private Zones page.

    7. Click the zone name.

    The Record Sets page is displayed.

    8. Click Add Record Set.

    Add an A record set in the ecs01 zone.

    Set Type to A – Map domains to IPv4 addresses.

    Leave the Name parameter blank.

    Set Value to the private IP address of the ECS, for example, 192.168.1.10.

    9. Click OK.

    After the record set is created, you can use ecs01 to access the ECS whose private IP address is 192.168.1.10 in the associated VPC.

  • Can I Transfer a Hosted Public Domain Name from One Account to Another Account?

    You are not allowed to transfer a public domain name hosted on the DNS service from one account to another account.

    If you have created a public zone and added record sets to the public zone, you cannot transfer the domain name from one account to another account.

    NOTE:

    If you want to transfer a hosted domain name to another account, delete the public zone created under the current account, create the same public zone under the new account, and add record sets to the public zone. This operation will interrupt domain name resolution. Exercise caution when performing this operation.

  • Are Private DNS Server Addresses the Same for All Users?

    Private DNS server addresses are the same for all users in the same AZ, and private domain names of each user are logically isolated.