OpenDNS vs GoogleDNS


OpenDNS vs Google DNS

Services like OpenDNS and GoogleDNS can speed up your browsing experience while keeping you secure on the internet. Generally, when you are connecting to a website, your browser is using the domain name server (DNS) of your internet service provider (ISP). But your ISP probably doesn’t have the fastest DNS servers which might be slowing down your internet browsing.

The DNS servers translate domain names to IP addresses. Whenever you connect to the internet, the browser sends out a request with the domain name to the DNS server and gets back the numerical IP address. So when you put in a domain name like, your browser asks the DNS server to find out the related IP address

In order for a domain to be valid, it needs to be listed on at least one authoritative name server. There are different types of name servers spread throughout the internet. These name servers are helping the internet to function. For efficiency and performance reasons, the Domain Name System supports DNS cache servers. The job of the cache servers is to store DNS query requests for the time-to-live period. The time-to-live period is defined in the domain name record. It tells the cache to remember the specific domain name for a specific period of time. When the period is over, the cache has the right to forget or delete that record. These DNS server caches also use recursive algorithms to improve the efficiency of the queries.

The caching servers are considered resolvers. When you are using your local computer, you have the option to use your ISP’s resolver or define any other third-party resolver you want.

ISP Name Server Restrictions

Your ISP’s DNS servers are located near your location. So network routes are short which mean your response time from these DNS servers will be faster than third-party servers. However, ISPs often block certain DNS requests or they redirect traffic to warning pages for suspicious sites or torrent sites. This might feel like censorship. Third-party DNS server like Google Public DNS, OpenDNS, UltraDNS, DynGuide, and others can help you find ways around these restrictions.

DNS Server Options

Here are the IP address for the OpenDNS and GoogleDNS

Google DNS




Testing the Speed of Resolution

On a Linux System, you can use the dig and look at the ‘Query time’ to figure out the speed of the DNS server response. I tested for GoogleDNS, OpenDNS and for querying and Here are the results:

   $ dig @ | grep 'Query time'   ;; Query time: 55 msec    $ dig @ | grep 'Query time'   ;; Query time: 132 msec    $ dig @ | grep 'Query time'   ;; Query time: 307 msec    -------    $ dig @ | grep 'Query time'   ;; Query time: 108 msec    $ dig @ | grep 'Query time'   ;; Query time: 157 msec    $ dig @ | grep 'Query time'   ;; Query time: 254 msec   

You can look at the query times and determine the best server for your location.

If you decide to use GoogleDNS as your primary and OpenDNS as your secondary DNS server, you can update the /etc/resolv.conf file to this:

  nameserver  nameserver  nameserver  

It’s important to remember that DNS servers will not change your internet speed. The speed will depend on your ISP. OpenDNS or GoogleDNS might provide a slight advantage in terms of name resolution and avoid known malware domains. This will help in situations where websites have multiple advertising images, scripts, etc. that need to quickly resolve multiple domain names.

DNS Flushing

Whenever you change your name server, it’s recommended that you flush the DNS cache. For Linux, you can restart the “nscd” or the “network manager”:

  /etc/init.d/nscd restart  Or  service network-manager restart  

Last Words

GoogleDNS and OpenDNS are free resources. So it’s worth your time to test these out to see if it can improve your web browsing experience.

ONET IDC thành lập vào năm 2012, là công ty chuyên nghiệp tại Việt Nam trong lĩnh vực cung cấp dịch vụ Hosting, VPS, máy chủ vật lý, dịch vụ Firewall Anti DDoS, SSL… Với 10 năm xây dựng và phát triển, ứng dụng nhiều công nghệ hiện đại, ONET IDC đã giúp hàng ngàn khách hàng tin tưởng lựa chọn, mang lại sự ổn định tuyệt đối cho website của khách hàng để thúc đẩy việc kinh doanh đạt được hiệu quả và thành công.
Bài viết liên quan

How to Configure dnsmasq on Ubuntu Server 18.04 LTS

dnsmasq is a very lightweight local DNS server. dnsmasq can also be configured as a DNS cache server and DHCP server. dnsmasq...

Install BIND 9 on Ubuntu and Configure It for Usage

The full form of BIND is Berkeley Internet Name Domain is a DNS server software. A DNS server resolves domain names such...

How to Configure dnsmasq on CentOS 7

dnsmasq is a very lightweight and simple DNS server. dnsmasq can be configured to be a DNS server and a DHCP server. In...
Bài Viết

Bài Viết Mới Cập Nhật

Mua Proxy V6 Nuôi Facebook Spam Hiệu Quả Tại Onetcomvn

Hướng dẫn cách sử dụng ProxyDroid để duyệt web ẩn danh

Mua proxy Onet uy tín tại

Thuê mua IPv4 giá rẻ, tốc độ nhanh, uy tín #1

Thuê địa chỉ IPv4 IPv6 trọn gói ở đâu chất lượng, giá RẺ nhất?