Supports DNS rewriting based on response IPs #5199

Closed
opened 2026-03-04 05:54:47 -05:00 by deekerman · 3 comments
Owner

Originally created by @HX-Technology-LLC on GitHub (May 12, 2024).

Prerequisites

  • I have checked the Wiki and Discussions and found no answer

  • I have searched other issues and found no duplicates

  • I want to request a feature or enhancement and not ask a question

The problem

CDN providers such as Akamai and cloudflare, they have many IPs and they are common to different websites, some IPs have fast connection speeds and some have slow connection speeds, can we support rewriting based on the response IPs and IP range, to rewrite all of them to fast response IPs?

Proposed solution

Improve dns rewrite

Alternatives considered and additional information

No response

Originally created by @HX-Technology-LLC on GitHub (May 12, 2024). ### Prerequisites - [X] I have checked the [Wiki](https://github.com/AdguardTeam/AdGuardHome/wiki) and [Discussions](https://github.com/AdguardTeam/AdGuardHome/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 CDN providers such as Akamai and cloudflare, they have many IPs and they are common to different websites, some IPs have fast connection speeds and some have slow connection speeds, can we support rewriting based on the response IPs and IP range, to rewrite all of them to fast response IPs? ### Proposed solution Improve dns rewrite ### Alternatives considered and additional information _No response_
deekerman 2026-03-04 05:54:47 -05:00
  • closed this issue
  • added the
    duplicate
    label
Author
Owner

@MadSpindel commented on GitHub (May 13, 2024):

Do you mean you only want to use the option "Fastest IP address" for specific CDN providers? And for the rest, you want to use Load-balancing or Parallel requests?

If so, if we had #6800, we could use CDN lists and point them to another Adguard Home instance with the "Fastest IP address" enabled. Also #3342 would be useful, and maybe #5144

@MadSpindel commented on GitHub (May 13, 2024): Do you mean you only want to use the option "Fastest IP address" for specific CDN providers? And for the rest, you want to use Load-balancing or Parallel requests? If so, if we had #6800, we could use CDN lists and point them to another Adguard Home instance with the "Fastest IP address" enabled. Also #3342 would be useful, and maybe #5144
Author
Owner

@agneevX commented on GitHub (May 14, 2024):

some IPs have fast connection speeds and some have slow connection speeds, can we support
rewriting based on the response IPs and IP range,

I hope you understand how CDNs work, in particular how load-balancing works with very low TTLs for IP addresses returned. So what you're asking for is simply not possible.

The best option for you is public resolvers that support ECS so you're able to connect to servers closer to you.

@agneevX commented on GitHub (May 14, 2024): > some IPs have fast connection speeds and some have slow connection speeds, can we support rewriting based on the response IPs and IP range, I hope you understand how CDNs work, in particular how load-balancing works with very low TTLs for IP addresses returned. So what you're asking for is simply not possible. The best option for you is public resolvers that support ECS so you're able to connect to servers closer to you.
Author
Owner

@ainar-g commented on GitHub (May 17, 2024):

Duplicate of #6325

@ainar-g commented on GitHub (May 17, 2024): Duplicate of #6325
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/AdGuardHome#5199
No description provided.