Jul 032011

A “Poor Man’s Load Balancer” is just publishing multiple DNS records for the same resource. However, it doesn’t really work, and it certainly doesn’t work the way novices expect it to. The publishing DNS server can give them in any order, or it may give them in a specific order, or it might give different result sets to different clients, or any intervening caching server my truncate or reorder results, or your client OS may want to sort result sets its own way, or your application may cache and sort its own results. Different resolver libraries handle results differently, and you can get different results by which function your application calls (getaddrinfo? gethostbyname? IPv4 or IPv6?).

Relevant links

Sorry, the comment form is closed at this time.