round robin/load balancing requests for a domain
Prerequisites
-
[X] I have checked the Wiki and Discussions and found no answer
-
[X] I have searched other issues and found no duplicates
-
[X] I want to request a feature or enhancement and not ask a question
The problem
Roundrobin/load balancing requests for a domain to multiple ip addresses for i.e:
we could set multi ip via rewrite rules for example.com, everytime the client request example.com, one of the ip addresses would go to client ( it should support the below feature too - something like roundrobing geodns system ! )
Proposed solution
- Randomize ip return based on a roundrobin algorithm
- Advanced one, check ping availability of these ip addresses, only randomize the available ones not all ip addresses in the pool
Alternatives considered and additional information
No response
https://github.com/cloudflare/cloudflare-docs/blob/production/content/dns/manage-dns-records/how-to/round-robin-dns.md
something like this
I want to achieve this using adguard rewrite rules
https://github.com/coredns/coredns/blob/master/plugin/loadbalance/README.md