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

Rewriting https queries with $dnsrewrite preserves the original cname result #7562

Open
3 tasks done
Trustedinstall opened this issue Jan 12, 2025 · 0 comments
Open
3 tasks done

Comments

@Trustedinstall
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

A query for https records for rr5---sn-q4fl6nlz.googlevideo.com normally returns a https record 和 a cname record. I then rewrote the https record using this rule
||googlevideo.com^$dnstype=HTTPS,dnsrewrite=NOERROR;HTTPS;1 . alpn=h2
When you query the domain again there are only https records.
dns

Proposed solution

When rewriting the HTTPS record, if there is a CNAME record, please keep it.

Alternatives considered and additional information

No response

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