Internet inaccessible from instance

Atouray
Atouray used Ask the Experts™
on
Hello,

we recently created a Linux instance but the instance can't resolve domain names. And when I sent ping packet receive the following error:
Error [ec2-user@ip-172-31-31-214 ~] $ ping google.com Ping: unknown host google.com

Below are details of the Instance:
Instances ID: i-a9e81ea5
Instance type: t2.micro

Please help us resolve the issue as no internet access is available to the instance.

Thanks,
BJ.
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Top Expert 2015
Commented:
Use some name server (/etc/resolv.conf)

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial