Over the past two decades, technological developments have dramatically improved internet speeds. Broadband and fiber connections have created lightning-fast networks where even high-definition media can be loaded in just a few seconds.

That's not to say there isn't room for improvement. Changing your DNS settings is often cited as one of the easiest ways to optimize your internet speed. So, let's take a look at how DNS works and how to change your DNS settings.

What Is DNS?

When you enter a website's URL into your browser, it needs to be translated into the site's IP address to send and receive data. The Domain Name System (DNS) is the digital equivalent of a phonebook, providing a number (IP address) for a given name (URL).

For example, if you enter www.makeuseof.com into your browser, the DNS server translates that into an IP address—in this case, 54.157.137.27. With over a billion websites currently online, it isn't practical to maintain a list that large. So instead, your DNS server stores a cache for a range of websites.

If you try to access a site that isn't already cached, then your DNS server will request the entry from another server. Your default DNS server is likely to be provided by your ISP and isn't guaranteed to be the best performing server.

How Does Your Location Affect DNS Speed?

The infrastructure supporting the internet is a series of copper and optical cables connecting servers worldwide. Data is carried across these cables in the form of electromagnetic waves, with speed limited to the speed of light. While we can't do anything to increase that speed, we can reduce the distance these waves have to travel.

If a DNS server is located far away from you, then your browsing speeds will be impacted. However, the reality of the internet is more complicated than simple distance calculations would have you believe. Google Public DNS is one of the most popular DNS server alternatives and uses two IP addresses (8.8.8.8 and 8.8.4.4).

These are known as anycast addresses, with multiple servers around the world responding to requests from these addresses. The servers responding to the requests vary throughout the day, depending on network conditions and traffic. Despite returning your queries from servers worldwide, it is consistently ranked as one of the fastest DNS servers.

They have achieved this by working with Content Delivery Networks (CDNs) to attach location data to DNS requests. In most cases, if you were to use a Canadian DNS server, then the CDNs would assume that you are in Canada.

This impacts loading speeds, and the content you see will be optimized for a Canadian audience. CDNs have become essential to the operation of the internet, and they are a key component in whether you can really break the internet.

Google and OpenDNS attach your IP address to the DNS requests. This means that the data is loaded from a server local to you, improving your overall internet speed.

Does Changing Your DNS Increase Speed?

map showing red line linking two locations
Image Credit: mmaxer/Deposit Photos

When planning a trip with Google Maps, you're presented with several different travel options. Some routes will take less time, even if they cover a greater distance. This could be due to many factors like traffic, transport changes, and average speed.

When selecting a DNS server to increase your internet speeds, you'll face a similar range of factors. Choosing the most advantageous path is known as route optimization. Some DNS servers, like those provided by ISPs, will experience heavy traffic, especially during peak times.

Some servers have outdated records or inefficiently route your data. The complex interplay between servers and connections makes route optimization integral to improving your internet speeds. Your ISP's DNS server may be located close by. However, their one-size-fits-all approach is unlikely to offer you the best performance.

This is where a tool like Google's Namebench comes in handy. It offers a free speed test to help you find the fastest DNS to optimize your internet speed. Namebench analyzes your connection and recommends the best DNS servers explicitly tailored to you.

Namebench isn't your only option; there are other ways to find the fastest DNS to optimize your internet speed, too. Furthermore, DNS doesn't only dictate speed. You can choose a specific DNS provider to improve your online safety and security.

How to Change DNS Settings

While your ISP likely has its own DNS server, it probably isn't the fastest option available. Instead, you'll want to change your operating system's DNS settings. There are three leading alternative DNS providers; Google DNS, OpenDNS, and Cloudflare DNS. We've compared Google DNS and Cloudflare DNS to see which provider delivers the fastest results, but you'll experience a speed and security boost switching from your default DNS to any of these alternative providers.

How to Change DNS Settings on Windows 10 and Windows 11

use-the-following-dns-server-option-2

To change your DNS on Windows 10:

  1. Press Win + X to open the Power User Menu and select Network Connections.
  2. Under Advanced network settings, select Change adapter options.
  3. In the new window displaying your available network devices, right-click your internet-connected device and select Properties.

To change your DNS on Windows 11:

  1. Press Win + X to open the Power User Menu and select Network Connections.
  2. Select Advanced network settings > More network adapter options.
  3. In the new window displaying your available network devices, right-click your internet-connected device and select Properties.

From there, the process of changing your DNS settings is the same for both Windows 10 and Windows 11.

Highlight the option titled Internet Protocol Version 4 (TCP/IPv4) and click Properties. Navigate to the Use the following DNS server addresses option.

In this area, enter the following IP addresses, depending on which DNS provider you want to use:

  • Google DNS: 8.8.8.8, 8.8.4.4
  • Cloudflare IPv4: 1.1.1.1, 1.0.0.1
  • OpenDNS: 208.67. 222.222, 208.67. 220.220

Once entered, click OK to save these settings. You'll be returned to the Properties menu. From here, select Internet Protocol Version 6 (TCP/IPv6) and click Properties. You can now repeat the process for IPv6 DNS servers.

  • Google DNS: 2001:4860:4860::8888, 2001:4860:4860::8844
  • Cloudflare IPv6: 2606:4700:4700::1111, 2606:4700:4700::1001
  • OpenDNS: 2620:119:35::35, 2620:119:53::53

Click OK to save your IPv6 DNS settings. You can then close all settings windows and return to your regular internet browsing. Once you've clicked to confirm those settings, you'll begin using your new DNS servers.

How to Change DNS Settings on macOS

To change your DNS on a macOS device:

  1. Open System Preferences.
  2. From there, click Network > Advanced.
  3. On this page, navigate to the DNS tab.
  4. Unlike on Windows, you can easily add and remove DNS servers using the + and - buttons on the window's bottom left. Once you've clicked the + icon, you can enter the IP address of your desired provider.

How to Change DNS Settings on an iPhone

If you want to change your DNS settings on an iPhone:

  1. First head to Settings > Wi-Fi.
  2. Tap the 'i' icon next to your connected network. This will open a settings page for the network you want to adjust. Scroll the page until you reach the DNS header.
  3. Tap the Configure DNS option. By default, this will be set to Automatic. Select Manual to enable further options. The Add Server field will appear Under DNS Server.
  4. Tap the button and enter the IP address of your desired provider.
  5. Once complete, tap Save at the top right of the screen.

How to Change DNS Settings on Android

The steps to change your DNS on Android vary depending on your device. However, for stock Android 9.0 and above:

  1. Open Settings > Network and Internet.
  2. Tap on the arrow to expand the Advanced settings. By default, the Private DNS field will be set to Automatic. Selecting that option will open an input window.
  3. Tap Private DNS provider hostname. Here, you will need to use the DNS server's hostname, rather than IP address, as below.
  • Google DNS: dns.google.com
  • Cloudflare: 1dot1dot1dot1.cloudflare-dns.com

The Need for DNS Speed

While there is no silver bullet to improve internet speeds, you can make numerous smaller tweaks and improvements. These improvements work together to increase your overall internet speed.

The DNS server you choose will play an essential role in this process. However well-intentioned, sometimes, errors will occur. Fortunately, they are reasonably straightforward to address.