Amazon EC2实例无法解析主机 [英] amazon ec2 instance unable to resolve host
问题描述
我有一大堆的Amazon EC2实例。今天,没有任何理由,我可以判断,他们三人成了无法解决特定的URL。当我尝试卷曲<网址>
,这三个例子说:卷曲:(6)无法解析主机,而所有其他情况下都能够解析URL和返回正确的数据。这是只有特定的URL,以及 - 所有其他URL正常工作
I have a bunch of amazon ec2 instances. Today, for no reason I can determine, three of them became unable to resolve a specific url. When I try curl <url>
, those three instances say "curl: (6) Could not resolve host", while all the other instances are able to resolve the url and return the correct data. It's only that specific url, as well - all other urls work fine.
什么可能造成的?我并没有改变在任何情况下的任何东西,所以它不是我做到了。如何才能知道为什么会发生?
What could have caused this? I haven't changed anything on any of the instances, so it's not something I did. How do I find out why it happened?
推荐答案
下面是我的东西,以验证清单。你100%肯定没有人/没有什么变化如下:
Here is my checklist of things to verify. Are you 100% sure nobody / nothing changed the following:
-
在实例
- DNS设置? (请与挖,看看是否名称解析正常)
- 在子网NACL规则在您的实例运行?
- 安全组连接到您的实例SG规则?
勒布
这篇关于Amazon EC2实例无法解析主机的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!