Re: Round robin DNS query response
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
Re: Round robin DNS query response
> 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
I¹m sorry. A little typo for my example. I meant to say... 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.1 ...and so on. Thanks, SW On 9/29/10 12:37 PM, "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 > > > Thanks, > SW ___ bind-users mailing list bind-users@lists.isc.org https://lists.isc.org/mailman/listinfo/bind-users
Round robin DNS query response
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 Thanks, SW ___ bind-users mailing list bind-users@lists.isc.org https://lists.isc.org/mailman/listinfo/bind-users