mirror of
https://github.com/AdguardTeam/AdGuardHome.git
synced 2026-03-04 00:01:12 -05:00
Make $dnsrewrite rules work with answers #4808
Labels
No labels
P1: Critical
P2: High
P3: Medium
P4: Low
UI
bug
cannot reproduce
compatibility
dependencies
docker
documentation
duplicate
enhancement
enhancement
external libs
feature request
good first issue
help wanted
infrastructure
invalid
localization
needs investigation
performance
potential-duplicate
question
recurrent
research
snap
waiting for data
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/AdGuardHome#4808
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @GarryLai on GitHub (Oct 18, 2023).
Prerequisites
I have checked the Wiki and Discussions and found no answer
I have searched other issues and found no duplicates
I want to report a bug and not ask a question or ask for help
I have set up AdGuard Home correctly and configured clients to use it. (Use the Discussions for help with installing and configuring clients.)
Platform (OS and CPU architecture)
Windows, AMD64 (aka x86_64)
Installation
GitHub releases or script from README
Setup
On one machine
AdGuard Home version
v0.108.0-b.48
Action
Add a custom rule:
Expected result
All domains of include A record 1.2.3.4 rewrite to 5.6.7.8.
Actual result
Not working. It will not rewrite.
Additional information and/or screenshots
No response
@ainar-g commented on GitHub (Oct 18, 2023):
The
$dnsrewriterules are applied to the question domain, not to answers, so I'll tag this as a feature request.@DandelionSprout commented on GitHub (Mar 25, 2024):
I presume
||1.2.3.4^$dnsrewrite=5.6.7.8could work, but it's been years since I last had to handle rewrites (and even then only for NTP servers).