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.
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).
 
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).
 
Was this helpful?
- Resources
 - API
 - New to Cloudflare?
 - Products
 - Sponsorships
 - Open Source
 
- Support
 - Help Center
 - System Status
 - Compliance
 - GDPR
 
- Company
 - cloudflare.com
 - Our team
 - Careers
 
- 2025 Cloudflare, Inc.
 - Privacy Policy
 - Terms of Use
 - Report Security Issues
 - Trademark