Choosing A records based on hosts' load?
Tyler Ament
tyler at coldsmoke.io
Mon Jan 18 18:03:42 UTC 2021
Hi Marek,
One way you can handle this sort of situation is with Varnish Cache. You can use it as a load balancer but it also has a lot of control over the actual flow of requests, etc. that you can use to accomplish various outcomes.
One relevant documentation. https://varnish-cache.org/docs/trunk/users-guide/vcl-backends.html#connection-pooling
Sorry to clutter the group here, but trying to assist w redirect of this question to a non-DNS direction since numerous BIND folks here saying not technically on-topic.
Tyler
> On Jan 18, 2021, at 1:49 AM, Marek Kozlowski <m.kozlowski at mini.pw.edu.pl> wrote:
>
> :-)
>
> I believe that such a solution (read to install) should exist. Unfortunately I don't know the magic keywords to find it:
>
> I have a group of hosts with different IPs offering the same services. I'm able to install some agents on them for monitoring their network/cpu/number of users/whatever utilization. I'm wondering if there is an option for BIND9 to obtain those load parameters on a regular basis (let's say: every 10 minutes) and when queried for the A record return ONLY one IP address - the one of the server with the lowest utilization?
>
> It can be implemented on those servers but in the solution I'm asking about the key point is that the BIND server takes the decision.
>
> Thanks in advance,
> best regards,
> Marek
> _______________________________________________
> Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe from this list
>
> ISC funds the development of this software with paid support subscriptions. Contact us at https://www.isc.org/contact/ for more information.
>
>
> bind-users mailing list
> bind-users at lists.isc.org
> https://lists.isc.org/mailman/listinfo/bind-users
More information about the bind-users
mailing list