Creating a Private Domain Name
- Log in to the GeminiDB console.
- Click Service List. Under Network, click Domain Name Service.
- On the displayed page, click Private Zones.
Figure 1 Private zones
- Click Create Private Zone.
Figure 2 Creating a private zone
- Set parameters as prompted.
Figure 3 Private zone parameters
Table 1 Parameter description
Parameter |
Description |
Example Value |
Domain Name |
Domain name of a private zone
You can enter a top-level domain that complies with the domain naming rules.
For details about the domain name format, see Domain Name Format and DNS Hierarchy. |
example.com |
Region |
Region where a 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 notes:
- 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 |
Tag |
(Optional) Identifier of a resource. Each tag contains a key and a value. You can add a maximum of 20 tags to a domain name.
Key and value naming rules:
Key:
- Cannot be left blank.
- Must be unique for each resource.
- Contains a maximum of 36 characters.
- Cannot start or end with a space or contain special characters =*<>\,|/
Value:
- Cannot be left blank.
- Contains 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 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, set parameters as prompted.
Value: Enter the load balancer IP address.
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.