Skip to main content

How to Update Your DNS Settings

Changing your DNS (Domain Name System) can improve your internet speed, enhance your privacy, and help you bypass certain web restrictions. This guide will help you set up the most reliable public DNS servers on your device.

Written by Julia Chulman


1. Popular Public DNS Providers

Choose one of the following pairs to use in the steps below:

Provider

Primary DNS (IPv4)

Secondary DNS (IPv4)

Cloudflare

1.1.1.1

1.0.0.1

Google

8.8.8.8

8.8.4.4

Quad9

9.9.9.9

149.112.112.112

OpenDNS

208.67.222.222

208.67.220.220

2. Configuration Steps by Operating System

Windows 11 / 10

  1. Open Settings (Win + I).

  2. Go to Network & internet.

  3. Click on Wi-Fi or Ethernet (depending on your connection).

  4. Click on Hardware properties (or click your network name).

  5. Next to DNS server assignment, click Edit.

  6. Change the dropdown to Manual.

  7. Toggle IPv4 to On.

  8. Enter the Preferred DNS and Alternate DNS from the table above.

  9. Click Save.

macOS (Sonoma / Sequoia)

  1. Click the Apple Menu () > System Settings.

  2. Click Network in the sidebar.

  3. Click on your active connection (Wi-Fi or Ethernet) and then click the Details... button.

  4. Select the DNS tab in the left sidebar.

  5. In the DNS Servers section, click the plus (+) button.

  6. Enter the Primary DNS address, then click plus (+) again to enter the Secondary DNS.

  7. Click OK.

Linux (Ubuntu / Desktop)

Most modern Linux distributions use NetworkManager:

  1. Open your Settings and go to Network (or Wi-Fi).

  2. Click the Gear icon (⚙️) next to your connected network.

  3. Switch to the IPv4 tab.

  4. Turn off the Automatic toggle next to DNS.

  5. Enter the DNS addresses in the box, separated by a comma (e.g., 1.1.1.1, 1.0.0.1).

  6. Click Apply.

  7. Toggle your connection Off and back On to apply the changes.

3. How to Verify the Change

To make sure you are using the new DNS, open your terminal (Command Prompt, Terminal, or PowerShell) and type:

Bash

nslookup google.com

Look at the Server line in the output. It should show the IP address of the DNS provider you just configured (e.g., 1.1.1.1).

Tip: If you want to apply these changes to every device in your home at once, you can usually find these same DNS settings inside your Router's Admin Panel under the "WAN" or "Internet" settings!

Did this answer your question?