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.
How DNS rules work
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
In the ESA console, choose Websites and click the website name you want to manage.
In the left-side navigation pane, choose .
Click Create Rule, and fill in the Rule Name.
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.