[Pdns-users] Round robin DNS

Stefan Schmidt stefan.schmidt at freenet.ag
Mon Feb 2 14:41:51 UTC 2009


On Mon, Feb 02, 2009 at 10:56:45AM +0100, Sean Boran wrote:
> Hi,

Hi Sean,

> Once feature I need is a way of doing round-robin DNS, I searched and found
> this discussion:
> http://mailman.powerdns.com/pipermail/pdns-users/2003-December/000909.html<pdns-users@mailman.powerdns.com>
> 
> but the "rrhelper" that is referenced is not to be found.
> 
> The idea is that if one does an "nslookup proxy.mydomain", each time a
> different answer is given back from a list of IP addresses.
> This allows loading sharing and a limited failover.
> 
> Am I right in saying that there is no support for this, but one would write
> a script that checks for some failover conditional (e.g. one of my proxies
> down), and then updated the "proxy" A record in pds via an SQL update?

I just tested with my PowerDNS + mysql and it seems that PowerDNS does
always return the answer rrset sorted, _but_ your recursive Nameserver
will always randomize that response before it gets sent to the client
hence your nslookup will be given a randomized response and thus present
you with a different answer each time you do a lookup.

So, there definitely is support for round-robin-sets in PowerDNS.

There sure are some solutions that use PowerDNS and add/remove records
to mysql on failover conditionals but i don't know of any that are
publicly available.

	Stefan
-- 
panic("bad_user_access_length executed (not cool, dude)");
        linux-2.0.38/kernel/panic.c


More information about the Pdns-users mailing list