AdguardTeam / AdguardTeam/AdGuardHome
Rewriting https queries with $dnsrewrite preserves the original cname result
- Lingua principale
- TypeScript
- Stelle
- 36.9k
- Fork
- 2.5k
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
### Prerequisites
- [X] I have checked the [Wiki](https://github.com/AdguardTeam/AdGuardHome/wiki) and [Discussions](https://github.com/AdguardTeam/AdGuardHome/discussions) and found no answer
- [X] I have searched other issues and found no duplicates
- [X] 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.

### Proposed solution
When rewriting the HTTPS record, if there is a CNAME record, please keep it.
### Alternatives considered and additional information
_No response_
Guida per i contributori
Apri la guida per i contributori
Valutazione
Questa issue non è ancora stata valutata.