Configuring a Private Domain Name
This section describes how to configure and resolve private domain names.
Creating a Private Domain Name
- Log in to the management console.
- Click Service List. Under Network, click Domain Name Service.
- On the DNS console, choose Private Zones.
Figure 1 Private zones
- Click Create Private Zone.
Figure 2 Creating a private domain name
- Configure parameters for creating a private domain name.
Figure 3 Creating a private zone
Table 1 Parameter description Parameter
Description
Example
Domain Name
Domain name of the private zone.
You can customize any correctly formatted domain names, even top-level ones.
For details about the domain name format, see Domain Name Format and DNS Hierarchy.
example.com
Region
The region where the tenant is located.
CN East-Shanghai1
VPC
The VPC associated with the private domain name must be the same as the VPC where the GeminiDB Redis instance is located. Otherwise, the private domain name cannot be resolved.
-
Enterprise Project
Enterprise project associated with the private domain name. You can manage private domain names by enterprise project.
NOTE:This parameter is available and mandatory only when Account Type is set to Enterprise Account.
Configuration principles:
- If you do not manage domain names by enterprise project, select the default enterprise project.
- If you manage domain names by enterprise project, select an existing enterprise project.
default
Tags
(Optional) Identifier of a resource. Each tag contains a key and a value. You can add a maximum of 10 tags to a domain name.
The key and value naming rules are as follows:
Key:
- Cannot be left blank.
- Must be unique for each resource.
- Consists of a maximum of 36 characters.
- Cannot start or end with a space or contain special characters =*<>\,|/
Value:
- Cannot be left blank.
- Consists of a maximum of 43 characters.
- Cannot start or end with a space or contain special characters =*<>\,|/
example_key1
example_value1
Description
(Optional) Description of the zone, which cannot exceed 255 characters.
This is a zone example.
- Click OK. On the Private Zones page, view the created private domain name in the zone list.
If the status of the private domain name is Normal, the domain name has been successfully created.Figure 4 Viewing the private domain name status
Adding a Record Set for a Domain Name
After creating a private domain name, configure a record set for it so that you can access instances using the domain name.
- Click the private domain name you created. On the displayed page, click Add Record Set in the upper right corner.
Figure 5 Adding a record set
- In the displayed Add Record Set dialog box, configure the required parameters.
Value: Enter the load balancer IP address of the instance.
Figure 6 Adding a record set
For details about how to configure parameters, see Adding an A Record Set.
- Click OK.
- Switch back to the Record Sets page.
- View the created record set in the record set list. If the status of the record set is Normal, the record set is added successfully.
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