If you use a Virtual Private Network (VPN) in a network namespace, your DNS requests may be leaked to your DNS provider if you use systemd-resolvd as a DNS resolver. These DNS requests can expose the sites you are visiting or your general geographic location whilst using your VPN.
Setting up a Wireguard VPN
Wireguard is a fast and modern Virtual Private Network (VPN) tunnel for Linux and other operating systems. This guide will describe the setup of a Wireguard server on a VPS, and how to connect to it from a PC.