AdguardTeam / AdguardTeam/AdGuardHome
Binding to address 0.0.0.0 also binds to IPv6 interfaces
- 主要言語
- TypeScript
- スター
- 36.9k
- フォーク
- 2.5k
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
### Prerequisites
- [x] I have checked the [Wiki](https://github.com/AdguardTeam/AdGuardHome/wiki) and [Discussions](https://github.com/AdguardTeam/AdGuardHome/discussions/categories/q-a) and found no answer
- [x] I have searched other issues and found no duplicates
- [x] I want to report a bug and not [ask a question or ask for help](https://github.com/AdguardTeam/AdGuardHome/discussions/categories/q-a)
- [x] I have set up AdGuard Home correctly and [configured clients to use it](https://github.com/AdguardTeam/AdGuardHome/wiki/Clients). (Use the [Discussions](https://github.com/AdguardTeam/AdGuardHome/discussions/categories/q-a) for help with installing and configuring clients.)
### Platform (OS and CPU architecture)
FreeBSD, AMD64 (aka x86_64)
### Installation
Custom package (OpenWrt, HomeAssistant, etc; please mention in the description)
### Setup
Other (please mention in the description)
### AdGuard Home version
0.107.69
### Action
Hi,
I'm running Adguard Home on a FreeBSD jail as nameserver. DHCP and other stuff is handled by other machines.
When binding DNS to IP 0.0.0.0 Adguard Home also listens on IPv6 addresses.
```yaml
dns:
bind_hosts:
- 0.0.0.0
port: 53
```
Log:
```txt
2026/03/09 13:43:14.491528 [info] dnsproxy: starting dns proxy server
2026/03/09 13:43:14.491544 [info] dnsproxy: creating udp server socket addr=0.0.0.0:53
2026/03/09 13:43:14.491665 [info] dnsproxy: listening to udp addr=[::]:53
2026/03/09 13:43:14.491672 [info] dnsproxy: creating tcp server socket addr=0.0.0.0:53
2026/03/09 13:43:14.491694 [info] dnsproxy: listening to tcp addr=[::]:53
2026/03/09 13:43:14.491772 [info] dnsproxy: entering udp listener loop addr=[::]:53
2026/03/09 13:43:14.491787 [info] dnsproxy: entering listener loop proto=tcp addr=[::]:53
```
### Expected result
If I want Adguard Home to listen on IPv6 interfaces I would assume that I have to activate it:
```yaml
dns:
bind_hosts:
- 0.0.0.0
- '::'
port: 53
```
### Actual result
-
### Additional information and/or screenshots
_No response_
コントリビューションガイド
評価
この issue はまだ評価されていません。