What I am suggesting is to set DNS servers via Network Manager instead of editing resolv.conf
Search ’ Network Connection’
Open it
Then select either WiFi or Ethernet, or whatever you are using, and click on edit. You’ll get this:
Select ipv4 in tabs.
Select addresses only in method.
Enter your DNS name below, and save it.
You’re done. Open any regular browser and check for DNS leaks then.