ThisCalculator

Everyday

Free DNS Servers: What They Are & How to Use Them

Updated · Standard formula, shown below

Effective speed 20.50 ms
Query time
20 ms
You entered
Distance to server
100 km
You entered

Free DNS Servers: What They Are & How to Use Them

Free DNS servers are publicly accessible domain name system resolvers that let you look up website addresses without paying a fee. You enter a server’s IP address (like 1.1.1.1 or 8.8.8.8) in your router or device settings, and that server translates domain names like example.com into the numeric IP addresses your computer needs to connect. This article explains how free DNS works, why you might switch, and how to choose a safe provider.

Formula

The calculator above estimates the total time for a DNS query, combining the server’s response time with the network delay caused by distance. The formula is:

Total time = query time + (distance / 200)

Where:

  • Query time (t) – the server’s response time in milliseconds (ms), often shown by tools like dig or online DNS testers.
  • Distance (d) – the approximate straight-line distance from you to the DNS server in kilometers (km).
  • 200 – a rough factor converting distance to network latency, assuming light travels through fiber at about 200 km per millisecond.

This is a simplified model; actual latency depends on routing, congestion, and server load.

Worked Example

Using the defaults: query time = 20 ms, distance = 100 km.

  1. Divide distance by 200: 100 / 200 = 0.5 ms.
  2. Add query time: 20 + 0.5 = 20.5 ms.

The calculator shows 20.50 ms as the effective speed. This means a typical query takes about 20.5 ms round-trip under ideal conditions.

What Are Free DNS Servers?

The Domain Name System (DNS) is often called the phonebook of the internet. When you type a website name, your device asks a DNS server for the corresponding IP address. Most people use the DNS server provided automatically by their internet service provider (ISP). Free DNS servers are alternative resolvers run by companies, non-profits, or research projects, offered at no cost to anyone.

Popular free options include:

  • Cloudflare – 1.1.1.1 and 1.0.0.1
  • Google Public DNS – 8.8.8.8 and 8.8.4.4
  • Quad9 – 9.9.9.9 (blocks malicious domains)
  • OpenDNS – 208.67.222.222 and 208.67.220.220
  • Comodo Secure DNS – 8.26.56.26 and 8.20.247.20

These servers are distributed globally, so users from any region can usually find a nearby node.

Why Switch from Your ISP’s DNS?

There are several common reasons people change their DNS resolver:

  • Speed – Some public DNS servers use optimized caching and anycast routing, which can reduce lookup times.
  • Reliability – ISP DNS servers occasionally go down or become overloaded; public servers often have stronger uptime.
  • Privacy – Many free DNS providers log less data than ISPs, and some offer encrypted DNS (DNS-over-HTTPS or DNS-over-TLS).
  • Parental controls or filtering – Services like OpenDNS let you block categories of sites, while Quad9 blocks known malware domains.
  • Bypass geo-restrictions – In some cases, changing DNS can help access content that is blocked by ISP-level DNS filtering (though it won’t bypass IP-based blocks).

However, the speed difference is often small. For most browsing, the DNS lookup is a tiny fraction of total page load time.

How to Change Your DNS Server

You can change DNS settings on your router (affects all devices) or on individual devices. Here are general steps:

  1. On a router: Log into the router’s admin panel (usually at 192.168.1.1 or 192.168.0.1), find the WAN or Internet settings, and replace the DNS fields with the addresses of your chosen provider. Save and reboot.
  2. On Windows: Go to Settings → Network & Internet → Change adapter options → right-click your connection → Properties → Internet Protocol Version 4 (TCP/IPv4) → Properties → Use the following DNS server addresses.
  3. On macOS: System Settings → Network → select your connection → Details → DNS → add the server addresses.
  4. On Android: Settings → Wi-Fi → long-press your network → Modify network → Advanced → IP settings → Static → enter DNS addresses.
  5. On iOS: Settings → Wi-Fi → tap the (i) next to your network → Configure DNS → Manual.

After changing, clear your DNS cache (e.g., ipconfig /flushdns on Windows) to force new lookups.

Common Problems and Misconceptions

One frequent misconception is that a free DNS server will magically increase your internet speed. It won’t; it only affects how quickly domain names are resolved. If your connection is slow due to bandwidth, the DNS change won’t help.

Another issue: some public DNS providers may not support certain internal network names (like printer.local) if they are not publicly registered. This can break local device discovery.

Also, not all free DNS servers are equally privacy-friendly. Read the provider’s privacy policy to see what logs they keep. For example, Cloudflare claims to delete logs within 24 hours, while others may retain data longer.

Finally, changing DNS does not hide your internet activity from your ISP. Your ISP still sees the IP addresses you connect to, even if a third-party resolver handles name lookups.

How to Choose a Free DNS Server

When picking a provider, consider these factors:

  • Speed – Use a tool like DNSPerf or the built-in dig command to compare response times from your location.
  • Privacy – Check the logging policy and whether they offer encrypted DNS (DoH/DoT).
  • Filtering – Some providers block malware or adult content; others give unfiltered results.
  • Uptime – Look for providers with a strong track record of reliability.
  • Extra features – Some offer parental controls, custom blocklists, or API access.

You can also run a quick test by temporarily setting your device to the candidate server and using an online DNS benchmark tool.

Security and Privacy Considerations

Free DNS servers are generally safe, but you should be aware of risks:

  • Trust – The provider sees every domain you visit. Choose one with a clear privacy policy.
  • Encryption – Standard DNS is unencrypted, so anyone on your network can spy on your queries. Use DNS-over-HTTPS or DNS-over-TLS if your provider supports it.
  • Phishing – A malicious DNS server could redirect you to fake websites. Stick to well-known providers.
  • No substitute for a VPN – DNS changes do not hide your IP address or encrypt your traffic.

For most users, the security benefit of switching from an unknown ISP resolver to a reputable public one is neutral or slightly positive, especially if you enable encrypted DNS.

Frequently Asked Questions

Is it safe to use free DNS servers?

Yes, if you choose a reputable provider like Cloudflare, Google, or Quad9. They have strong security practices and clear privacy policies. Avoid obscure servers from unknown sources, as they could be malicious.

Will a free DNS server make my internet faster?

Possibly, but only if your current DNS is slow. The effect is usually small and may not be noticeable. Use a benchmark tool to test before committing.

Can I use a free DNS server on my phone?

Yes, both Android and iOS allow you to change DNS settings for Wi-Fi networks. Some providers also offer apps that configure DNS globally.

What’s the difference between DNS and a VPN?

DNS only translates domain names to IP addresses. A VPN encrypts all your internet traffic and routes it through a remote server, which can hide your IP and bypass geo-blocks. They serve different purposes.

Do free DNS servers sell my data?

Some may, but major providers like Cloudflare and Quad9 have strong privacy commitments. Always read the privacy policy. If a service is free and you’re not the customer, you might be the product – but in this case, most reputable providers are funded by other means.

Can I use multiple DNS servers at once?

Yes, you can list multiple servers in your settings. Your device will use the first one, and fall back to the next if it fails. This improves reliability.

Related

Formula used
in t | Query time | ms | 20 | 0
in d | Distance to server | km | 100 | 0
out speed | Effective speed | ms | t + d / 200 | 2

Each line is one input (in, sel, list) or one result (out: label, unit, formula, decimals). How the calculators work

Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.