【发布时间】:2017-08-28 10:22:36
【问题描述】:
当我尝试从我公司的自托管 github 企业clone github repositories 时
我遇到错误
Could not resolve hostname github....... : Name or service not known
但是当我使用 IP 地址克隆同一个 repo 时,我可以这样做,甚至可以从命令行 ping github.....。
我正在使用:
GIT version : git version 2.14.1.windows.1
Windows 10 enterprise version version: 1607 OS build: 14393
我已经检查过其他类似机器的人没有遇到这个问题
有人可以帮我解决这个问题吗?
【问题讨论】:
-
似乎是由您的公司引起的 DNS 问题。由于您的公司可能托管自己的 DNS 服务器,我想这是最好的起点。否则:你能访问回购的网址吗?
-
感谢您的回复,但其他人即使从 Windows 10 也可以正常使用 github repo,无论如何我可以创建一些证书以添加到我的机器中
-
您不能自己创建证书(如果这是您需要的)。如果您的公司有一个 IT 团队/网络管理员,我想这就是您应该去的地方。
标签: github windows-10 hostname github-enterprise