3

I have created an AWS VPC and connected my network to it over VPN. I have a private hosted zone within route 53 and the DNS records in it resolve fine in my EC2 instances on the same VPC.

Is there any way to resolve these records from my network too, since they are connected over VPN?

Chandra Sekar
  • 141
  • 1
  • 5

1 Answers1

1

The only way is to use the DNS server within the VPC; depending on what DNS server your using in your non-AWS network, there may be a way to configure it to forward requests to the AWS DNS server for the relevant private domain.

Craig Miskell
  • 4,216
  • 1
  • 16
  • 16
  • Do you mean I have to set up another DNS server within my VPC to which the one in my network forwards, or can I forward directly to Amazon's nameserver from my network? – Chandra Sekar Mar 31 '15 at 08:49
  • No, I mean that your DNS server *outside* AWS needs to be configured to forward directly to the AWS VPC nameserver, for the relevant domain – Craig Miskell Apr 01 '15 at 05:47
  • 3
    Well that doesn't work apparently private hosted zones resolve only within VPC, not even on VPN. So the solution was to run a DNS server within VPC which forwarded all requests to route 53 and then setup the DNS server in my network to forward all requests to this DNS server. – Chandra Sekar Apr 02 '15 at 04:28