Your Internet Service Provider (ISP) probably has your DNS configurations pointing toward the router/modem for your network (such as 192.168.1.254). That’s a perfectly legitimate set up and it more than likely works just fine.
But does it … really?
You might find networking isn’t quite as speedy as you’d like. Every time you open your web browser and search for something on google.com, the results take a while to appear.
Or you might recognize that standard DNS servers are unencrypted: If anyone is capable of viewing your web traffic, they could discern what you’ve been searching for.
That, my friends, is an invasion of privacy (at best) — or a prelude to getting hacked.
To improve your speed and security, there’s one very easy change you can make: Use different DNS servers. For example, both Google and Cloudflare offer very fast DNS servers that are also encrypted. Personally, I prefer Cloudlare’s option (because I’ve always found their DNS servers to be slightly faster than Google’s).
My goal is to walk you through the steps involved in changing DNS servers on the various operating systems (and/or desktop environments) that I use personally. This time around I’ll illustrate how it’s done on a GNOME desktop. It doesn’t matter if you’re using the GNOME desktop on a Ubuntu- or Fedora-based distribution. If it’s GNOME…it’s GNOME.
Let’s get to the change.
How to change DNS servers on a GNOME-based Linux distro
What you’ll need: The only thing you’ll need is a working GNOME desktop environment. Of course, that desktop will need to be connected to the internet (otherwise, you wouldn’t need to set the DNS servers). I’ll demonstrate this on Fedora 39 with the latest version of GNOME.
Congratulations. Next time around, we’ll do the same thing with the KDE Plasma desktop.