AdguardTeam / AdguardTeam/AdGuardHome

Remove CNAME records from response for specific domains

Ouverte
#6,470 3 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
feature request
Langage dominant
TypeScript
Étoiles
36.9k
Forks
2.5k
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

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

I hope that certain specific domain names will respond only with IPv4 records and that the CNAME record will be removed,when I configure a specific domain name to return only 'A' records in the [Filters->dns_rewrites] function page, and a dual-stack client queries this domain name, if the queried domain name resolves to a CNAME, the client will continue to query the IPv6 records of the CNAME. This leads to the configuration not taking effect.

More specific scenarios:
While accessing chatgpt or bard or copilot, I have to disable ipv6 to access them due to geo access restrictions set by these sites and my proxy only supports ipv4. However, the domain name `chat.openai.com` is currently resolved to the address `chat.openai.com.cdn.cloudflare.net`.I can only achieve my goal by configuring both `chat.openai.com` and `chat.openai.com.cdn.cloudflare.net` in the [Filters->dns_rewrites] page to retain only the A record. But suppose one day `chat.openai.com` changes its CNAME domain, then my configuration will become invalid.
image

image

### Proposed solution

certain specific domain names will respond only with IPv4 records and that the CNAME record will be removed.

### Alternatives considered and additional information

_No response_

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.