{"id":20487,"date":"2023-08-31T15:16:58","date_gmt":"2023-08-31T15:16:58","guid":{"rendered":"https:\/\/linuxways.net\/?p=20487"},"modified":"2023-08-31T15:16:58","modified_gmt":"2023-08-31T15:16:58","slug":"how-to-find-the-best-dns-server-for-your-location","status":"publish","type":"post","link":"https:\/\/linuxways.net\/de\/best-of-linux\/how-to-find-the-best-dns-server-for-your-location\/","title":{"rendered":"How to Find the Best DNS Server for Your Location"},"content":{"rendered":"<p><strong>IP addresses <\/strong>are used to identify websites\/devices on the internet e.g., the IP address of <a href=\"http:\/\/www.youtube.com\">YouTube<\/a> is 208.65.153.238. For humans, it is not easy to remember these IP addresses as humans are more accustomed to names rather than numbers.<\/p>\n<p><strong>DNS<\/strong> (Domain Name Server) bridges this gap. DNS translates the Domain Names to IP addresses to access user-desired websites. Finding the fastest DNS is important as if the DNS server is slow or down, the website will open slowly or not open at all.<\/p>\n<p>This article will describe a method to determine the best DNS Server for a particular location.<\/p>\n<h2>How to Find\/Determine the Best DNS Server for Your Location?<\/h2>\n<p>The faster the DNS server is, the faster and smoother the internet browsing experience we will achieve. We can find the best DNS server by comparing the latency (ms) of six popular and free public DNS servers: Google DNS, Cloudflare DNS, Open DNS, Comcast, Level 3 Communications, and Quad 9.<\/p>\n<p>The DNS server with the lowest latency (ms) among these 6 servers will be the best DNS server in our location. The Primary DNS server IP of each of these servers is shown in below table:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"1010\" height=\"380\" class=\"wp-image-20488\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2023\/08\/word-image-20487-1.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2023\/08\/word-image-20487-1.png 1010w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/08\/word-image-20487-1-300x113.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/08\/word-image-20487-1-768x289.png 768w\" sizes=\"auto, (max-width: 1010px) 100vw, 1010px\" \/><\/p>\n<p>We will figure out the best (fastest) DNS server by the following steps:<\/p>\n<h3>Step 1: Launch Terminal<\/h3>\n<p>The first step is to launch Terminal. It can be launched either by using the shortcut Ctrl+Alt+T or by using the Application launcher.<\/p>\n<p>All applications, system components, and files installed on the system are placed in the Application Launcher. The terminal can be launched by the application launcher by pressing the \u201c<strong>Activities<\/strong>\u201d button in the left corner of the screen, then by typing \u201c<strong>Terminal<\/strong>\u201d in the search bar and by selecting the Terminal icon:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"2048\" height=\"441\" class=\"wp-image-20489\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2023\/08\/word-image-20487-2.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2023\/08\/word-image-20487-2.png 2048w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/08\/word-image-20487-2-300x65.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/08\/word-image-20487-2-1024x221.png 1024w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/08\/word-image-20487-2-768x165.png 768w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/08\/word-image-20487-2-1536x331.png 1536w\" sizes=\"auto, (max-width: 2048px) 100vw, 2048px\" \/><\/p>\n<h3>Step 2: Ping DNS Server<\/h3>\n<p>We can use the <strong>Ping <\/strong>command to check the availability status of devices in the network. Ping command returns statistics like latency, packets received, packets transmitted, and packet loss. We will ping all 6 DNS servers (shown in the above Table) to check the latency of each server. The below commands ping each DNS server one by one and send 4 packets to each Server:<\/p>\n<h4>Ping to Google DNS Server:<\/h4>\n<div class=\"codecolorer-container bash blackboard\" style=\"width:100%;\"><div class=\"bash codecolorer\"><span class=\"co4\">$ <\/span><span class=\"kw2\">ping<\/span> 8.8.8.8 <span class=\"re5\">-c<\/span> <span class=\"nu0\">4<\/span><\/div><\/div>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"2008\" height=\"682\" class=\"wp-image-20490\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2023\/08\/word-image-20487-3.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2023\/08\/word-image-20487-3.png 2008w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/08\/word-image-20487-3-300x102.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/08\/word-image-20487-3-1024x348.png 1024w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/08\/word-image-20487-3-768x261.png 768w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/08\/word-image-20487-3-1536x522.png 1536w\" sizes=\"auto, (max-width: 2008px) 100vw, 2008px\" \/><\/p>\n<h4>Ping to Cloudflare DNS Server:<\/h4>\n<div class=\"codecolorer-container bash blackboard\" style=\"width:100%;\"><div class=\"bash codecolorer\"><span class=\"co4\">$ <\/span><span class=\"kw2\">ping<\/span> 1.1.1.1 <span class=\"re5\">-c<\/span> <span class=\"nu0\">4<\/span><\/div><\/div>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"2048\" height=\"685\" class=\"wp-image-20491\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2023\/08\/word-image-20487-4.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2023\/08\/word-image-20487-4.png 2048w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/08\/word-image-20487-4-300x100.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/08\/word-image-20487-4-1024x343.png 1024w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/08\/word-image-20487-4-768x257.png 768w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/08\/word-image-20487-4-1536x514.png 1536w\" sizes=\"auto, (max-width: 2048px) 100vw, 2048px\" \/><\/p>\n<h4>Ping to Open DNS Server:<\/h4>\n<div class=\"codecolorer-container bash blackboard\" style=\"width:100%;\"><div class=\"bash codecolorer\"><span class=\"co4\">$ <\/span><span class=\"kw2\">ping<\/span> 208.67.222.222 <span class=\"re5\">-c<\/span> <span class=\"nu0\">4<\/span><\/div><\/div>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"1740\" height=\"664\" class=\"wp-image-20492\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2023\/08\/word-image-20487-5.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2023\/08\/word-image-20487-5.png 1740w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/08\/word-image-20487-5-300x114.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/08\/word-image-20487-5-1024x391.png 1024w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/08\/word-image-20487-5-768x293.png 768w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/08\/word-image-20487-5-1536x586.png 1536w\" sizes=\"auto, (max-width: 1740px) 100vw, 1740px\" \/><\/p>\n<h4>Ping to Comcast Server:<\/h4>\n<div class=\"codecolorer-container bash blackboard\" style=\"width:100%;\"><div class=\"bash codecolorer\"><span class=\"co4\">$ <\/span><span class=\"kw2\">ping<\/span> 75.75.75.75 <span class=\"re5\">-c<\/span> <span class=\"nu0\">4<\/span><\/div><\/div>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"1762\" height=\"610\" class=\"wp-image-20493\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2023\/08\/word-image-20487-6.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2023\/08\/word-image-20487-6.png 1762w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/08\/word-image-20487-6-300x104.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/08\/word-image-20487-6-1024x355.png 1024w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/08\/word-image-20487-6-768x266.png 768w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/08\/word-image-20487-6-1536x532.png 1536w\" sizes=\"auto, (max-width: 1762px) 100vw, 1762px\" \/><\/p>\n<h4>Ping to Level 3 Communications Server:<\/h4>\n<div class=\"codecolorer-container bash blackboard\" style=\"width:100%;\"><div class=\"bash codecolorer\"><span class=\"co4\">$ <\/span><span class=\"kw2\">ping<\/span> 4.2.2.2 <span class=\"re5\">-c<\/span> <span class=\"nu0\">4<\/span><\/div><\/div>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"1762\" height=\"660\" class=\"wp-image-20494\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2023\/08\/word-image-20487-7.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2023\/08\/word-image-20487-7.png 1762w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/08\/word-image-20487-7-300x112.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/08\/word-image-20487-7-1024x384.png 1024w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/08\/word-image-20487-7-768x288.png 768w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/08\/word-image-20487-7-1536x575.png 1536w\" sizes=\"auto, (max-width: 1762px) 100vw, 1762px\" \/><\/p>\n<h4>Ping to Quad 9 Server:<\/h4>\n<div class=\"codecolorer-container bash blackboard\" style=\"width:100%;\"><div class=\"bash codecolorer\"><span class=\"co4\">$ <\/span><span class=\"kw2\">ping<\/span> 9.9.9.9 <span class=\"re5\">-c<\/span> <span class=\"nu0\">4<\/span><\/div><\/div>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"1764\" height=\"662\" class=\"wp-image-20496\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2023\/08\/word-image-20487-8.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2023\/08\/word-image-20487-8.png 1764w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/08\/word-image-20487-8-300x113.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/08\/word-image-20487-8-1024x384.png 1024w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/08\/word-image-20487-8-768x288.png 768w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/08\/word-image-20487-8-1536x576.png 1536w\" sizes=\"auto, (max-width: 1764px) 100vw, 1764px\" \/><\/p>\n<p>By the above screenshots, we can see the total latency (ms) of 6 DNS servers: Google DNS, Cloudflare DNS, Open DNS, Comcast, Level 3 Communications, Quad 9 is 3010 ms, 3014 ms, 3011 ms, 3012 ms, 3009 ms, 3007 ms respectively. The difference in latency of each server is not so much but we can see that the total latency of the <strong>Quad 9<\/strong> server is the least among all, i.e., 3007 ms (of 4 IP Packets). Hence, in this case, the Quad 9 DNS Server is the best DNS server for our location.<\/p>\n<h2>Conclusion<\/h2>\n<p>To find the best DNS server for a location, DNS server latency may vary depending on location and ISP. Therefore, there are chances that on different ISPs or at different locations, we can have a different Server that gives us the lowest latency. We have tested 6 free DNS servers and have found the best among them depending on our ISP (Internet Service Provider) and location. This article has discussed how to find the best DNS server for a location.<\/p>","protected":false},"excerpt":{"rendered":"<p>To find the best DNS server, DNS server latency may vary depending on location and ISP. The DNS server with the lowest latency (ms) is the best DNS server.<\/p>","protected":false},"author":110,"featured_media":20495,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1053],"tags":[],"class_list":["post-20487","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-best-of-linux"],"_links":{"self":[{"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/posts\/20487","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/users\/110"}],"replies":[{"embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/comments?post=20487"}],"version-history":[{"count":0,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/posts\/20487\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/media\/20495"}],"wp:attachment":[{"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/media?parent=20487"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/categories?post=20487"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/tags?post=20487"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}