By setting the DNS service, the engine can securely and conveniently access external services via domain names.
Prerequisites
1. DNS service created
1.1 The DNS service has been created in the Private DNS console, with the appropriate domain name and resolution record (domain name ⇄ IP mapping relationship) configured. For operation guide, see Create Private Domain. 1.2 Custom DNS service deployment in Tencent Cloud VPC.
2. Network interconnection configured
Configure network connection in the DLC console to make the network where the engine resides accessible to the target IP in the VPC.
Operation Steps
Step 1: Bind Domain Resolution
1. Log in to the DLC console and go to the target standard engine details page. 2. On the details page, go to the domain resolution bind settings tab.
Step 2: Select Parsing Type
Domain resolution supports the following two types:
Private DNS
When a user has created a private DNS service in Private DNS, they can directly select this type.
During the binding process, select the VPC corresponding to the private DNS service.
After binding, the system will automatically synchronize the latest domain name and parsing configuration.
2. Custom Domain Resolution
If you use a self-built DNS service or external parsing scheme, select Custom Domain Resolution.
Manually specify the VPC where the DNS service resides and complete the binding.
Step 3: Verify Access
1. After binding succeeds, the engine automatically loads the parsing configuration.
2. By accessing the configured domain name within the engine, you can parse to the corresponding IP network and access external services.
Note
Private DNS takes effect only within the same VPC or interconnected VPCs.
Custom domain resolution requires ensuring DNS service availability and correct resolution records.