AdguardTeam / AdguardTeam/dnsproxy

Bind to a link-local IPv6-address

未关闭
#197 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
feature request
主要语言
Go
星标
3.3k
派生
343
PR 合并指标
30 天内没有已合并 PR

描述

I believe, in order to bind to a link-local IPv6 address, either the application needs to find the interface by iterating through all of them, what is does not do at the time:
```
./dnsproxy -l fe80::61*6f
[fatal] cannot start the DNS proxy due to listening to udp socket: listen udp [fe80::61*6f]:53: bind: invalid argument
```
or it must accept the interface ID, which it can't parse at the moment:
```
./dnsproxy -l fe80::61*6f%eth0
[fatal] cannot parse fe80::61*6f%eth0
```
Could you please extend the code to enable binding to link-local IPv6 addresses?

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。