Advice for DNS leak
I got my first warning from my ISP yesterday while downloading. It was puzzling since i had my vpn engaged, but after troubleshooting, I determined that my dns is leaking. Tested it both before and after engaging vpn and both were positive for a leak. IPv6 is working and not a problem. I'm not very tech savvy so i could use some help in determining what I need to do from here.
A few months ago I reinstalled my laptop with Linux 16.04. Since then, I haven't been able to connect my vpn directly to the little robot icon at the top of the page. Instead, Ive been engaging my vpn through the wifi icon at the top of my page (I don't know if this is considered OPENVPN). Could the source of the dns leak be because I haven't been connecting directly to the robot icon? If so, could someone please tell me how to fix my connection? When I try to engage, the robot goes grey but ultimately turns back red, unable to make the connection. Suggestions? Advice? I welcome it all.
A few months ago I reinstalled my laptop with Linux 16.04. Since then, I haven't been able to connect my vpn directly to the little robot icon at the top of the page. Instead, Ive been engaging my vpn through the wifi icon at the top of my page (I don't know if this is considered OPENVPN). Could the source of the dns leak be because I haven't been connecting directly to the robot icon? If so, could someone please tell me how to fix my connection? When I try to engage, the robot goes grey but ultimately turns back red, unable to make the connection. Suggestions? Advice? I welcome it all.

Comments
As for your DNS leak — the easiest solution is simply to use PIA DNS system-wide. DNS leak protection just forces your system to use PIA DNS, so using our DNS provides another layer of protection should something go awry.
You can change your DNS settings through Network Manager by doing the following:
I have seen suggestions to add the following lines at the end of the the *.ovpn configuration file:
script-security 2
up /etc/openvpn/update-resolv-conf
down /etc/openvpn/update-resolv-conf
Is this a solution with PIA or if it could be added to the "Ubuntu OpenVPN Setup" provided by PIA?
You can block DNS leaks easily if you use my script to connect to PIA.
Just uninstall all other PIA software and use my script with -d switch to change DNS to PIA thereby preventing any possibility of DNS leaks.
https://github.com/d4rkcat/pia
@juliebob_00 I may have come across another fix. I saw on another forum to comment out the "dns=dnsmasq" in the /etc/NetworkManager/NetworkManager.conf. This works for me with all OpenVPN connections so far.