Try this
sudo nano /etc/dnsmasq.conf
My internet is connected via eth0 then theres a vpn connection turned on
interface eth0
static ip_address=192.168.1.80/24 # Static ip for your rpi
static routers=192.168.1.254
static domain_name_servers=1.1.1.1
interface=eth1 # Use interface wlan0 (or whatever interface is your wireless)Routers ip
server=1static domain_name_servers=1.1.1.1 # Cloudfare
dhcp-range=192.168.7.100,192.168.7.120,255.255.255.0,24h # IP range andDns leaseCloudfare timeServer
interface=wlan0 # Use interface wlan0 (or whatever interface is your wireless)
server=103server=1.861. 961.1001 # Dns Cloudfare Server
dhcp-range=192.168.17.100,192.168.17.120,255.255.255.0,24h # IP range and lease time
sudo reboot
that should fix the dns leak