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 Respuestas
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
EXPERTO
respondido hace un año
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
respondido hace un año
0

Update DNS Work!!

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

I

Dopod
respondido hace un año

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas