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

/etc/hosts rules are now applied to subdomains #3998

Closed
ainar-g opened this issue Dec 23, 2021 · 0 comments
Closed

/etc/hosts rules are now applied to subdomains #3998

ainar-g opened this issue Dec 23, 2021 · 0 comments
Assignees
Milestone

Comments

@ainar-g
Copy link
Contributor

ainar-g commented Dec 23, 2021

The $dnsrewrite rules in the engine that processes the hosts files must use |example.com^ rules, not ||example.com^ ones.

@ainar-g ainar-g added this to the v0.107.1 milestone Dec 23, 2021
adguard pushed a commit that referenced this issue Dec 24, 2021
Merge in DNS/adguard-home from 3998-fix-hosts-gen to master

Closes #3998

Squashed commit of the following:

commit b565d51
Author: Eugene Burkov <E.Burkov@AdGuard.COM>
Date:   Thu Dec 23 16:25:02 2021 +0300

    aghnet: make hosts rules match exactly
heyxkhoa pushed a commit to heyxkhoa/AdGuardHome that referenced this issue Mar 20, 2023
Merge in DNS/adguard-home from 3998-fix-hosts-gen to master

Closes AdguardTeam#3998

Squashed commit of the following:

commit b565d51
Author: Eugene Burkov <E.Burkov@AdGuard.COM>
Date:   Thu Dec 23 16:25:02 2021 +0300

    aghnet: make hosts rules match exactly
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

2 participants