EC2 could not resolve private DNS host name

0 votes

I am new to Amazon Web Service (AWS)

I just created a VPC and and a subnet, which is inside it. However, I could not resolve any hostnames in this subnet (when I stay in any hosts in this subnet)

[ec2-user@ip-192-168-1-86 ~]$ nslookup
> ip-192-168-1-86.ec2.internal
Server:     192.168.1.2
Address:    192.168.1.2#53

** server can't find ip-192-168-1-86.ec2.internal: NXDOMAIN
Feb 14 in AWS by Rahul
• 2,080 points
375 views

1 answer to this question.

0 votes
Try and check private dns hostnames supported by each region. The private hostnames resolves to the IPv4 address of the instance.

 DNS hostname takes the form ip-private-ipv4-address.ec2.internal for the us-east-1 Region, and ip-private-ipv4-address.region.compute.internal
answered Feb 14 by Rahul
• 2,080 points

Related Questions In AWS

0 votes
1 answer

Amazon EC2 instance unable to resolve host.

Here is my checklist of things you ...READ MORE

answered Aug 23, 2018 in AWS by Archana
• 4,150 points
3,691 views
0 votes
1 answer
0 votes
1 answer

Host not allowed

Go to your project directory cd project cd project ALLOWED_HOSTS ...READ MORE

answered Aug 9, 2018 in AWS by Priyaj
• 58,060 points
978 views
+1 vote
1 answer

Can we use AWS Public DNS as Domian name to enable https on our instance

I don't believe you can get a ...READ MORE

answered Aug 23, 2018 in AWS by Priyaj
• 58,060 points
282 views
0 votes
1 answer

Why I get AWS repository ARN could not be added to restrict access?

heh... answer my own question: I must ...READ MORE

answered Sep 21, 2018 in AWS by Priyaj
• 58,060 points
192 views
0 votes
2 answers

How to recover lost private key of an EC2 instance?

You can replace the new key using ...READ MORE

answered Nov 17, 2021 in AWS by anonymous
10,683 views
0 votes
1 answer

Getting ORA-01882: timezone region not found with Oracle UCP, on aws ec2 instance?

You can pass command line argument -Duser.timezone=<Database Time ...READ MORE

answered Oct 3, 2018 in AWS by Priyaj
• 58,060 points
2,682 views
0 votes
1 answer

Pricing for aws ec2 instance volume

This is the pricing for EBS AWS ...READ MORE

answered Feb 14 in AWS by Rahul
• 2,080 points
21 views
webinar REGISTER FOR FREE WEBINAR X
Send OTP
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP