Re: Round robin DNS query response

2010-09-29 Thread Eivind Olsen
 Is there a way to make BIND respond DNS query in sequence?

Someone else can probably give a more authoritative answer. My
understanding is that BIND will rotate the answers it gives out when
there's more than one similar record in a rrset. And yes, this can help
spread the load a bit.

Whether that's good enough for your projoect - I can't say. Keep in mind
that your main DNS servers won't see most of the client queries, if your
clients ask other recursive DNS servers (like their ISPs servers etc).
Also depending on your requirements: doing this simple load spreading
won't account for servers being down etc, the only failover mechanism is
if whatever your clients are using is capable of retrying on a different
IP-address if the first one doesn't answer.

Regards
Eivind Olsen


___
bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users


Re: Round robin DNS query response

2010-09-29 Thread Kevin Darcy

On 9/29/2010 12:37 AM, SW wrote:

Hi everyone...

I am rather new to the world of DNS so I'm hoping to get some of your 
expertise...


Is there a way to make BIND respond DNS query in sequence?  For 
example, if I assign 2 IP addresses to an A record, is it possible to 
have it respond like...


Client 1 for www.example.com - 192.168.1.1
Client 2 for www.example.com - 192.168.1.2
Client 3 for www.example.com - 192.168.1.3
...and so on.

I know companies use load balancer for this function, but my customer 
in this case don't really want to make additional investment  :P

Option A: round-robin+sortlist
Option B: views

Appropriate caveats for each approach.

Note that if these are Windows clients on the same subnets as the 
www.example.com addresses, you could probably just get away with a plain 
old round-robin and rely on the built-in Windows subnet 
prioritization, see 
http://www.windowsitpro.com/article/dns/what-is-dns-round-robin-and-subnet-prioritization-.aspx



- Kevin


___
bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users