mirror of
				https://github.com/coredns/coredns.git
				synced 2025-10-31 02:03:20 -04:00 
			
		
		
		
	This middleware allows you to round robin a/aaaa records in a reply and maybe more in the future (i.e.) sort a packet?
		
			
				
	
	
	
		
			365 B
		
	
	
	
	
	
	
	
			
		
		
	
	
			365 B
		
	
	
	
	
	
	
	
loadbalance
loadbalance acts as a round-robin DNS loadbalancer by randomizing A and AAAA records in the
message. See Wikipedia about the pros and cons
on this setup.
Syntax
loadbalance [policy]
- policy is how to balance, the default is "round_robin"
Examples
loadbalance round_robin