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 ?

Dopod
已提问 1 年前525 查看次数
3 回答
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
专家
已回答 1 年前
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
已回答 1 年前
0

Update DNS Work!!

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

I

Dopod
已回答 1 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则