Amazon EC2 instance unable to resolve host.

0 votes

I have a bunch of amazon ec2 instances. Three instances 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?

Aug 23, 2018 in AWS by datageek
• 2,390 points
238 views

1 answer to this question.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
0 votes

Here is my checklist of things you need  to verify. Are you sure you havent’t changed the following:

  • DNS Settings on the instance? (check with dig to see if name resolution is OK)

  • NACL rules on the subnet where your instance is running?

  • Security Group rules of the SG attached to your instances?

Check if you have made any changes.

answered Aug 23, 2018 by Archana
• 3,770 points

Related Questions In AWS

0 votes
1 answer

Trying to Determine Amazon EC2 instance creation date/time

You can't find as such attribute called ...READ MORE

answered May 29, 2018 in AWS by Flying geek
• 3,130 points
1,202 views
0 votes
1 answer

How to safely upgrade an Amazon EC2 instance from t1.micro to large?

Using AWS Management Console: Right-Click on the instance Instance ...READ MORE

answered Oct 8, 2018 in AWS by Priyaj
• 56,120 points
21 views
0 votes
1 answer
0 votes
1 answer

Unable to send email from Amazon EC2 Server in Java

It mostly could be due to two ...READ MORE

answered Nov 30, 2018 in AWS by Archana
• 5,360 points
45 views
0 votes
1 answer

Unable to ping to my EC2 Instance.

Make sure the Amazon network rules allow Echo ...READ MORE

answered Jan 14 in AWS by Pranjali
14 views
0 votes
1 answer
0 votes
1 answer

Does it make sense to have an Amazon Elastic Load Balancer with just one EC2 instance?

Well you are right Elastic Load Balancer ...READ MORE

answered Mar 20 in AWS by ArchanaNagur
• 1,070 points
20 views
0 votes
1 answer

Does it make sense to have an Amazon Elastic Load Balancer with just one EC2 instance?

Well you are right Elastic Load Balancer is mainly ...READ MORE

answered Mar 20 in AWS by ArchanaNagur
• 1,070 points
26 views
0 votes
1 answer

Unable to initiate ssh connection to Amazon EC2 instance

The keypair which you are using must ...READ MORE

answered Sep 5, 2018 in AWS by Archana
• 3,770 points
17 views
0 votes
1 answer

How to add swap to Amazon EC2 instance?

A fix for this problem is to ...READ MORE

answered Sep 11, 2018 in AWS by Archana
• 3,770 points
15 views

© 2018 Brain4ce Education Solutions Pvt. Ltd. All rights Reserved.
"PMP®","PMI®", "PMI-ACP®" and "PMBOK®" are registered marks of the Project Management Institute, Inc. MongoDB®, Mongo and the leaf logo are the registered trademarks of MongoDB, Inc.