AdguardTeam / AdguardTeam/AdGuardHome

Ability to exclude IPs in bind_hosts

オープン
#4,413 コメント 8 件 リアクション 2 件 担当者 0 名 GitHub で見る
feature request
主要言語
TypeScript
スター
36.9k
フォーク
2.5k
PR マージ指標
30日以内にマージされた PR はありません

説明

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

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。