AWS VPN Client endpoint resolve private dns

0

Now I configured -Route 53 for private hosted zone —add A record with domain name and IP of EC2 -Create EC2 running web-service -vpn client endpoint with split tunnel

How Can I use vpn with dns service for call private domain of ec2 ?

3 Answers
0

Easy peasy.

When defining client vpn settings you can specify 2 dns servers for your vpn clients to use.

The dns endpoint within your VPC is usually its CIDR range plus 2 , 4th octect or host address.

Eg, if your VPC is 10.0.0.0/16 set the dns server for the VPN client to be 10.0.0.2

This will allow your VPN clients to resolve addresses using the route53 resolver.

If this answers your question please accept so that this helps others and helps me.

Gary

profile picture
EXPERT
answered 2 years ago
0

Not work

My vpc is 10.100.0.0/22

I configure IP dns server on VPN endpoint is 10.100.0.2

Add authorize rule already

Dopod
answered 2 years ago
0

Update DNS Work!!

1.add authorize rule to 10.100.0.2/32 2.enable dns resolve host on VPC setting

I

Dopod
answered 2 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions