AdguardTeam / AdguardTeam/AdGuardHome

Ability to exclude IPs in bind_hosts

Aperta
#4,413 8 commenti 2 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

### Problem Description
In systems where AdGuardHome is multihomed and listening to multiple interface (IPs) the [documentation](https://github.com/AdguardTeam/AdGuardHome/wiki/Configuration#configuration-file) includes options only to implicitly include all addresses (0.0.0.0) **or** explicitly define specific addresses.

In relatively static systems such as servers this is a perfectly acceptable solution but in systems that change often such as routers or firewalls this is suboptimal.

### Proposed Solution
Add an option to `'bind_hosts':` that can define binds to exclude that can be used in conjunction with the implicit include all i.e. include all except.

### Alternatives Considered
I had considered suggesting easier GUI based configs but to my eye this is lesser solution to this problem (albeit powerful in itsefl)

### Additional Information
Use case for context. Install AdGuardHome onto a firewall such as OPNsense. Define listen to all interfaces except the WAN internet. Later a new VLAN is added to the firewall which is implicitly included in the `0.0.0.0` and not defined in any exclude and as such automatically serves DNS correctly without reconfiguration.

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.