If you specify a Uniform Resource Identifier (URI) but the requested resources are stored on different origin servers, you can create a domain name system (DNS) rule to replace the DNS record resolved from the hostname in the request. This ensures that the request is routed to the correct server to obtain the desired resources.
DNS rules are supported by only Enterprise plans.
Introduction
After you configure DNS records for your domain name in Edge Security Acceleration (ESA), clients establish connections with your origin server based on DNS resolution results such as IP addresses and domain names.
If you want to route client requests based on specific characteristics such as request paths and geographical locations to different origin servers, you can create DNS rules. When client requests match the configured rules, ESA returns the resolved addresses including A records, canonical name (CNAME) records, and AAAA records that overwrite the original DNS records and forwards the client requests to the desired servers.
Create DNS rules
Log on to the ESA console.
In the left-side navigation pane, click Websites.
On the Websites page, find the website that you want to manage, and click the website name or View Details in the Actions column.
In the left-side navigation pane, choose
.Click Create Rule and specify the Rule Name parameter.
In the If requests match... section, choose all incoming requests or only requests that match a custom filter expression, and click Configure in the DNS Record section. Then, enter a DNS record based on your business requirements.
Click OK.