alzhao
4
-
I think you dns is going via the VPN and is secure as you have tested and there is no dns leak
-
I do think your dns is secure because you use a private IP address. If not connected using VPN, this IP is not reachable. So it is secure.
I don’t see where is your 2nd question so here is my general comments.
In the router there is no up/down script so it may not works as your PC. So you have to set a DNS server manually. For AWS EC2 you have a public IP address which you can use. You can try to set that IP address as the DNS server rather than your 172.32.0.2, which cannot be reachable. You need also to enable public access of this DHCP server by opening dns port from EC2 console and your EC2 server configuration.
So when VPN is not connected, your Internet is not broken.