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 Antworten
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
EXPERTE
beantwortet vor einem Jahr
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
beantwortet vor einem Jahr
0

Update DNS Work!!

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

I

Dopod
beantwortet vor einem Jahr

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen