You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I wonder if AdguardHome supports applying filter rules to CNAME rewrite result.
Eg:
example.com turns out to have only A records, and example.cname.com has both A and AAAA records. I want to rewrite the CNAME record of example.com to example.cname.com, and then discard the A record. The following is what I do.
I rewrite example.com with an CNAME result example.cname.com like this:
Then I set DNS Rewrite Rules to make example.cname.com AAAA only:
However I failed. example.com still replys with both A and AAAA records from example.cname.com .
I try set DNS Rewrite Rules to make example.com AAAA only instead of example.cname.com, though after that custom filter rules doesn't work and reply with empty record(example.com turns out to have only A records).
I also try set ||example.com^$dnsrewrite=NOERROR;A; to reply with empty A record though it doesn't work.
I've searched and tried any more possible solutions, though got nothing helpful. So I come here for help.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I wonder if AdguardHome supports applying filter rules to CNAME rewrite result.
Eg:
example.com
turns out to have only A records, andexample.cname.com
has both A and AAAA records. I want to rewrite the CNAME record ofexample.com
toexample.cname.com
, and then discard the A record. The following is what I do.example.com
with an CNAME resultexample.cname.com
like this:DNS Rewrite Rules
to makeexample.cname.com
AAAA only:However I failed.
example.com
still replys with both A and AAAA records fromexample.cname.com
.I try set
DNS Rewrite Rules
to makeexample.com
AAAA only instead ofexample.cname.com
, though after that custom filter rules doesn't work and reply with empty record(example.com
turns out to have only A records).I also try set
||example.com^$dnsrewrite=NOERROR;A;
to reply with empty A record though it doesn't work.I've searched and tried any more possible solutions, though got nothing helpful. So I come here for help.
Beta Was this translation helpful? Give feedback.
All reactions