【发布时间】:2017-01-24 00:37:07
【问题描述】:
我不知道发生了什么,但我丢失了我的 DO Ubuntu 服务器上的所有主机名解析。我需要寻找什么?在 Ubuntu 16.04 上的搜索没有帮助,因为这些都是关于 NetworkManager 的,而它们的图像中并不存在。
gp@gpc-docker-sfo2:~$ telnet gitlab.com 443
telnet: could not resolve gitlab.com/443: Temporary failure in name resolution
gp@gpc-docker-sfo2:~$ nslookup www.google.com
;; connection timed out; no servers could be reached
我可以知道我需要在哪里解决这个问题吗?我知道 Ubuntu 一直在改变 resolv.conf 的使用。我不知道在哪里看这张图片。
值得注意的是:图像被称为“Ubuntu Docker 1.12.5 on 16.04”。我总是使用apt 更新软件包,最近发布了 Docker 13.0。我不知道这是否相关,但我知道这是一件事发生了变化,可能(?)影响事情。
直到大约一周后我才注意到解决问题。
【问题讨论】:
标签: ubuntu docker digital-ocean resolve