Choosing A records based on hosts' load?
ondrej at isc.org
Mon Jan 18 18:14:31 UTC 2021
There’s nothing magical needed here, you can write a script that would modify the zone directly (and do rndc reload) or use nsupdate to modify the record directly in the named.
Whether it’s good idea or not... I’ll let you experience the failure of making decisions on the wrong layer...
Ondřej Surý — ISC (He/Him)
> On 18. 1. 2021, at 9:49, 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,
> 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
More information about the bind-users