AWS EC2 not resolving DNS host names

Viewed 3346

I have my AWS EC2 (Windows Server) in a public subnet with a public IP/DNS. Enabled "DNS Resolution" and "DNS HostNames" for the VPC as these are not enabled by default for a non-default VPC.

Subnet ACL has following rules for both inbound and outbound traffic:

enter image description here

Route table has the following targets:

enter image description here:

Here are the security group rules:

Inbound:

enter image description here

Outbound:

enter image description here

Turned off all my public and private firewalls on the server as well. All these settings look right for my server to actually access the internet but for some reason its able to ping only IP's successfully but not host names. But in the browser, both IP's and hostnames are not resolving. The error on chrome says DNS_PROBE_FINISHED_BAD_CONFIG. What setting/option do I have to modify to make my machine connect to the internet successfully?

1 Answers

The problem is in the OS settings.Changing the Ethernet Properties for TCP/IPV4 to obtain DNS address automatically solved the issue. Don't even know at first place how a static DNS IP was selected. Seems like a silly issue.

Related