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,530 points
5,396 views

1 answer to this question.

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
• 4,170 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,280 points
9,301 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
• 58,090 points
753 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,640 points
1,106 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, 2019 in AWS by Pranjali
1,469 views
0 votes
2 answers
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 is mainly ...READ MORE

answered Mar 20, 2019 in AWS by ArchanaNagur
• 2,360 points
456 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
• 4,170 points
622 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
• 4,170 points
433 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP