Load balance additional DNS records
In addition to load balancing between DNS records used for IP resolution — A
, AAAA
, and CNAME
records — Enterprise customers can also load balance between MX and SRV records.
MX records
To load balance between multiple mail servers:
- Make sure you have the required DNS records for your mail servers.
- Create a monitor with a Type of SMTP.
- Create a pool with your mail servers and attach the newly created monitor.
- Create a load balancer that includes your newly created pools. Since it will forward SMTP traffic, the load balancer should be unproxied (DNS-only).
SRV records
To load balance between different SRV records, which contain significantly more information than many other DNS records:
- Create your SRV records.
- Create a monitor with a Type of UDP-ICMP or TCP.
- Create a pool with your various SRV records and attach the newly created monitor.
- Create a load balancer that includes your newly created pools. This load balancer should be unproxied (DNS-only).