AdguardTeam / AdguardTeam/AdGuardHome

Rewriting https queries with $dnsrewrite preserves the original cname result

Aperta
#7,562 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
feature request
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.
![dns](https://github.com/user-attachments/assets/827554c9-763b-437b-945a-f03b931bdee2)

### 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.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.