title: How do I resolve AWS private DNS address on my desktop
body: <p>I have a MongoDB AWS instance inside a VPC that uses a private IP.  The MongoDB is more secure this way because there are no public IP references to the database.  I am running a VPN server using OpenVPN.  If I have to access the MongoDB remotely, I just us the OpenVPN Connect Client with the IP address, 10.0.0.95.  In my code, I reference the MongoDB url with the AWS private DNS name, ip-10-0-0-95.ec2.internal.  No issue when the code is running on an AWS instance within the VPC.  However, when I run the same code on my local machine it does not find the DNS address.  Like I said, I am running a VPN client that is properly connected to the VPN.  If I change my code url reference to 10.0.0.95 everything works fine both locally and running on an AWS instance within the VPC.  Clearly, this is a correct solution and I could just move on.  However, is there a way to run the code locally?  Obviously, my local machine is not resolving the DNS address.  Is there some way that I can locally resolve the VPC DNS address with my VPN client?  </p>