AdguardTeam / AdguardTeam/AdGuardHome

Missing documentation in the wiki for the DNS rewrites enabled flag

Aperta
#8,323 1 commento 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

The [wiki page](https://github.com/AdguardTeam/AdGuardHome/wiki/Configuration#configuration-file) for the configuration does not mention the `enabled` flag for legacy DNS rewrites.

### Proposed solution

> rewrites: List of legacy DNS rewrites, where domain is the domain or wildcard you want to be rewritten and answer is IP address, CNAME record, A or AAAA special values. Special value A keeps A records from the upstream and AAAA keeps AAAA values from the upstream. The enable property is the status of the rewrite (enabled/disabled).
>
> ```
> 'rewrites':
> - 'domain': example.com
> 'answer': 127.0.0.1
> 'enabled': true
> - 'domain': '*.example.com'
> 'answer': A
> 'enabled': true
> ```

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