Home & Office
Why you can trust ZDNET : ZDNET independently tests and researches products to bring you our best recommendations and advice. When you buy through our links, we may earn a commission. Our process

'ZDNET Recommends': What exactly does it mean?

ZDNET's recommendations are based on many hours of testing, research, and comparison shopping. We gather data from the best available sources, including vendor and retailer listings as well as other relevant and independent reviews sites. And we pore over customer reviews to find out what matters to real people who already own and use the products and services we’re assessing.

When you click through from our site to a retailer and buy a product or service, we may earn affiliate commissions. This helps support our work, but does not affect what we cover or how, and it does not affect the price you pay. Neither ZDNET nor the author are compensated for these independent reviews. Indeed, we follow strict guidelines that ensure our editorial content is never influenced by advertisers.

ZDNET's editorial team writes on behalf of you, our reader. Our goal is to deliver the most accurate information and the most knowledgeable advice possible in order to help you make smarter buying decisions on tech gear and a wide array of products and services. Our editors thoroughly review and fact-check every article to ensure that our content meets the highest standards. If we have made an error or published misleading information, we will correct or clarify the article. If you see inaccuracies in our content, please report the mistake via this form.


How to change DNS servers on a GNOME-based Linux distribution (and why you should)

If your ISP's DNS servers are either too slow or insecure, it's easy enough to change them. If your desktop is GNOME, here's how to do it.
Written by Jack Wallen, Contributing Writer
The GNOME network details view.

I've changed the DNS servers to those of Cloudflare on Fedora 39 with the GNOME desktop.

Jack Wallen/ZDNET

Your Internet Service Provider (ISP) probably has your DNS configurations pointing toward the router/modem for your network (such as That's a perfectly legitimate set up and it more than likely works just fine.

But does it ... really?

Also: AI in 2023: A year of breakthroughs that left no human thing unchanged

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).

Also: How to configure specific DNS servers on your Chromebook 

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.

1. Access Network Settings

After logging into your GNOME desktop, click the network icon in the top-right corner and you'll see the Wired Quick Settings tile. Click to expand that entry and then click Wired Settings. If you're using wireless, it will be listed as such.

The GNOME Quick Settings menu.

The GNOME Quick Settings section gives you quick access to various configurations.

Jack Wallen/ZDNET

2. Open the Network configuration tool

In the resulting window, click the gear icon associated with the Wired connection.

The gear icon for accessing the GNOME Wired network configuration window.

Make sure to click the gear icon associated with how you connect to the internet (either Wired or Wireless).

Jack Wallen/ZDNET

3. Disable Automatic DNS and configure your new DNS servers

In the next window, click the IPv4 tab and then click the On/Off slider associated with DNS until it's in the Off position. Next, type the primary and secondary DNS servers you want to use (separated by a comma). For instance, if you want to use Cloudflare's DNS, that would be, If you'd rather use Google's DNS servers, those would be and Once you've taken care of that, click Apply to save and dismiss the window.

Configuring Cloudflare's DNS servers in GNOME.

I opt to go with Cloudflare's DNS servers.

Jack Wallen/ZDNET

Also: How to turn on Private DNS Mode on Android  

4. Activate the changes

Back at the Network Settings window, click the On/Off slider until it's in the On position to activate the changes. If you find the slider is already in the On position, slide it until it's in the Off position and then back to the On position. Your new DNS servers should now be in play, giving your DNS query speed and security a slight boost.

Congratulations. Next time around, we'll do the same thing with the KDE Plasma desktop.

Editorial standards