AdguardTeam / AdguardTeam/AdGuardHome

Ability to exclude IPs in bind_hosts

Đang mở
#4,413 8 bình luận 2 reaction 0 người được giao Xem trên GitHub
feature request
Ngôn ngữ chính
TypeScript
Star
36.9k
Fork
2.5k
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.