Support DNS search domain list (resolve local hostname to FQDN)
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 35/100
- Issue 类型
- 功能
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 技术栈
- php
- 领域
- networking
调研方向
Start by reading the resolver configuration documented for /etc/resolv.conf, especially the domain and search options, and review gethostname behavior and the related issue #98. Check how the resolver currently handles short hostnames and determine the applicable Windows equivalent. Done means local short aliases resolve using the configured search/domain information, with the system hostname domain used when no explicit domain is set.
由索引模型根据 Issue 内容生成。
描述
We should support the domain and search options listed in /etc/resolv.conf (and possibly Windows' equivalent). Additionally, we should check the system hostname if it includes a domain part if the domain is not explicitly set.
This is useful in corporate and home networks where a short local alias is often used, i.e. intranet actually resolves to intranet.example.com.
See also https://linux.die.net/man/5/resolv.conf, https://linux.die.net/man/2/gethostname, https://unix.stackexchange.com/questions/128091/no-domain-defined-in-etc-resolv-conf and #98.
I'm not currently working on this, but figured it makes sense to report here in order to track this feature request. In case anybody feels like picking this up, any input and PRs would be much appreciated 👍
- 主要语言
- PHP
- 星标
- 542
- 派生
- 62
- PR 合并指标
- 30 天内没有已合并 PR
贡献指南
这个仓库没有索引到贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
reactphp/dns 的其他 Issue
-
bug
难度 3/5 1-2 天 新手友好度 42/100
-
bug
难度 3/5 1-2 天 新手友好度 45/100
-
bug new feature
难度 4/5 3-5 天 新手友好度 30/100
-
maintenance
难度 5/5 一周以上 新手友好度 15/100
-
help wanted new feature
难度 5/5 一周以上 新手友好度 32/100
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 70/100
-
难度 2/5 1-3 小时 新手友好度 75/100
-
难度 1/5 1 小时以内 新手友好度 85/100
-
难度 2/5 1-3 小时 新手友好度 75/100
hector-jewell/food-delivery-system-for-restaurant-using-php#1311 ·
-
难度 2/5 1-3 小时 新手友好度 65/100
Sylius/SyliusGridBundle#501 ·