Skip to main content

All Questions

0 votes
1 answer
2k views

AWS VPC DNS Hostnames & Resolution

I'm trying to educate myself more on how DNS works, and am struggling with trying out some options in my AWS VPC. From the AWS Documentation on VPC, there are 2 DNS settings to choose from, DNS ...
user2789945's user avatar
1 vote
1 answer
728 views

How to make AWS resolves domain name to internal IP

I have a VPC peering established with MongoDB Atlas, however when I try to resolve the database cluster's domain from within an EC2 instance in the same VPC, I get back the public IP. This is a ...
Carlos H Romano's user avatar
0 votes
0 answers
164 views

Recently switched ISP, having trouble with AWS

As the title says recently my office has switched ISP's and since switching we've been having some trouble with AWS. I've done my best to cover troubleshooting to the best of my ability to resolve ...
Scott Young's user avatar
1 vote
0 answers
324 views

AWS VPC EC2 Setting AD DNS Custom DNS for instance running in another VPC

Here is my scenario: 1. I have two peered VPCs VPC1 which is running Active Directory integrated DNS Service with my domain as example.local. There is another VPC2 which has both VPC DNS with ...
anu11may's user avatar
0 votes
0 answers
129 views

Unable to Resolve Machine Names via Domain Controller

I have two Amazon AWS VPC's connected via a peering connection, where I have enabled DNS resolution between them like so: I am also using an internal domain controller to provide DNS using the AWS ...
Muhammad Rehan Saeed's user avatar
1 vote
0 answers
110 views

Access other instances in the same VPC by name?

I've created few centos instances, and it seems like all of them got a internal dns records: ip-{IP}.eu-central-1.compute.internal However I need more helpful names, especially because IPs are ...
iTayb's user avatar
  • 791
1 vote
1 answer
704 views

Why does an AWS EC2 instance need public and private DNS?

I am creating my own VPC and was reading some documentation. AWS documentation for DNS with VPC (click here to view) says To enable an EC2 instance to be publicly accessible, it must have a public ...
Hurricane Development's user avatar
0 votes
2 answers
324 views

ec2 route53 + openwrt: openwrt as nameserver in ec2 vpc

I have an OpenWRT router with an IP reachable within an Amazon EC2 VPC. The router is running a dnsmasq server. Router IP is 192.168.13.1. A client is connected to the router with hostname 'iPhone' ...
Miles R's user avatar
  • 88
0 votes
0 answers
104 views

External DNS resolution not consistent in AWS VPC

I have 2 instances in a VPC. The VPC is set up with the correct DHCP option set to enable public DNS resolution. Both instances are identical, and are launched using the same bootstrap scripts and ...
ebr's user avatar
  • 103
2 votes
1 answer
1k views

Using my private DNS from within AWS VPC via Route 53

I have an Amazon VPC connected to our corporate network. Each EC2/beanstalk (linux) instance uses the standard AWS supplied IP address for its name server in /etc/resolv.conf. Each EC2 instance can ...
pachyderm's user avatar
1 vote
1 answer
189 views

AWS VPCs + VPN between regions. How does DNS work?

When using a VPC on AWS DNS is handled in a neat way whereby any requests for the external DNS name for an instance in the VPC resolves to the local/private IP address of the node. This is useful ...
yoshiwaan's user avatar
  • 300
3 votes
1 answer
3k views

Port 53 in Amazon Security Group

Everything works as expected. This question is for learning purposes only. Using Amazon Security Groups in a VPC. Outbound rules are: 0.0.0.0/0 Port 80 0.0.0.0/0 Port 443 Iptables allows OUTPUT ...
csi's user avatar
  • 1,605
0 votes
1 answer
61 views

Is it needed to use local DNS cacher in EC2 / VPC?

Seems like AWS internal DNS is already a very low latency one, e.g. On ec2 dig google.com | grep "Query time" ;; Query time: 0 msec So do we really need to use another DNS cacher?
Howard's user avatar
  • 2,195
0 votes
2 answers
2k views

AWS VPC External DNS issue

I have booted up an instance in side a private VPC. I assigned an ElasticIp address to it and I can ssh into the instance with no issues. However, DNS is not resolving :( in my /etc/resolv.conf I ...
Alistair Prestidge's user avatar
21 votes
3 answers
22k views

Internal DNS inside Amazon AWS VPC

I am getting started on understanding VPC but am not seeing a good internal DNS solution. For example, we're using a non-RDS database server which other servers in the VPC connect to. I would like ...
Tom Harrison Jr's user avatar