AdGuardHome icon indicating copy to clipboard operation
AdGuardHome copied to clipboard

round robin/load balancing requests for a domain

Open miladtempaccount opened this issue 1 year ago • 2 comments

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

miladtempaccount avatar Jun 24 '24 12:06 miladtempaccount

https://github.com/cloudflare/cloudflare-docs/blob/production/content/dns/manage-dns-records/how-to/round-robin-dns.md

something like this

miladtempaccount avatar Jul 06 '24 08:07 miladtempaccount

I want to achieve this using adguard rewrite rules

https://github.com/coredns/coredns/blob/master/plugin/loadbalance/README.md

miladtempaccount avatar Jul 06 '24 08:07 miladtempaccount