A Domain Name System (DNS) server resolves internal domain names efficiently and securely to ensure stable and reliable access to internal services. With a properly configured DNS server, you can centrally manage internal domain names to prevent issues such as service unavailability caused by external DNS faults or network jitters.
Scenarios
Custom DNS: Your business requires custom configurations for internal domain name resolution.
Internal service resolution: When backend services are located within a VPC, API Gateway uses internal DNS to correctly route requests.
Hybrid cloud environment: You want to centrally manage internal and external DNS resolutions for your services.
Limits
You can configure up to five DNS servers.
Operation platforms
Log on to the AI Gateway console.
In the left-side navigation pane, click Instance. In the top navigation bar, select a region.
On the Instance page, click the ID of the instance that you want to manage.
In the left-side navigation tree, click Service.
Based on different scenario requirements, you can use one of the following operation platforms:
Click Create Service.
Click Edit in the Actions column of the service you want to modify.
Configure a DNS server
Click More Settings and Click to automatically specify DNS Server IP Addresses.
When you activate the internal DNS resolution service, Alibaba Cloud automatically assigns an internal DNS resolution endpoint to your VPC.

Click Add to manually specify DNS server IP addresses.
