Round Robin DNS

Hi all,

I want to set up a round robin DNS for load-balancing purposes. I have
a local zone as follows:

local-zone: "www.foo.com." static
local-data: "www.foo.com. 2 IN A 172.16.25.200"
local-data: "www.foo.com. 2 IN A 172.16.25.1"
local-data: "www.foo.com. 2 IN A 172.16.25.5"

Using nslookup, I always get the fixed order reply : .200, .1, .5

Is there a way I can configure Unbound to return a randomized/round-robin list?

PS: I went through the discussion at
http://www.unbound.net/pipermail/unbound-users/2009-August/000724.html
, but am posting to check if there is a work-around available.

Thanks!
Cheers,
Nipun

This is not how you do it. DNS clients are expected to choose one record at random for establishing connections. So the order in which the server returns results has no impact. Unbound is right not to waste time changing the order.

The right way to do DNS-based load balancing (if there is one!) is to have the server return a subset of RR set. And Unbound doesn't have that feature (which some might call a bug, and for valid reasons!).

Simon