Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hope to add keyword-matching domain name functionality #7324

Open
3 tasks done
DaLiWan666 opened this issue Oct 4, 2024 · 0 comments
Open
3 tasks done

Hope to add keyword-matching domain name functionality #7324

DaLiWan666 opened this issue Oct 4, 2024 · 0 comments

Comments

@DaLiWan666
Copy link

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

When using AdGuardHome for domain allocation to different servers, I use Clash rules and convert them into AdGuardHome rules via a shell script. However, a small portion of the Clash rules includes keyword types, which are not supported by AdGuardHome, leading to incorrect matching for these keywords. For example, "DOMAIN-KEYWORD, aliyun" cannot be matched in AdGuardHome. The script appending ".com" at the end can only match "aliyun.com," but domains like "data.aliyundrive.net" and "arms-retcode.aliyuncs.com" are incorrectly allocated to the wrong DNS server. Therefore, it would be helpful to add support for keyword matching, such as using "[/aliyun/]$dns_servers" for keyword matching.

Proposed solution

Keyword Matching

Alternatives considered and additional information

When keywords can be matched for "[$dns_servers"]"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant