On Sat, 3 Apr 2010 13:52:22 -0700 Benjamin Black <b...@b3k.us> wrote: 

BB> What happens if the IP I get back is for a seed that happens to be
BB> down right then?  And then that IP is cached locally by my resolver?

You have to set the TTL to be the right number of seconds for your
environment.  With tinydns on a dedicated subdomain, even an old machine
could support really short TTLs.

BB> There is certainly a tempting conceptual simplicity to using DNS, I
BB> just don't think the reality is that simple nor is it for the trade in
BB> predictability, for me.  IMO, this is better done either through
BB> automation to generate the configs (how I do it; I just update
BB> chef-server) or through a service like ZK (how I might do it in the
BB> future, in combination with automation).

DNS tends to be everywhere and easily configurable, so it's a pretty
good lowest common denominator.  I think Zeroconf AKA mDNS/DNS-SD is a
good alternative to simple DNS RR for many environments and I will
eventually propose a contrib plugin for Cassandra that provides it if no
one else gets to it first (we discussed this previously).  Modern Linux
systems support Zeroconf AKA mDNS/DNS-SD through Avahi.

Ted

Reply via email to