How a VPN works: tunnel, DNS and exit server