{"id":8850,"date":"2023-07-14T08:54:42","date_gmt":"2023-07-14T08:54:42","guid":{"rendered":"https:\/\/truehost.com\/support\/?post_type=ht_kb&#038;p=8850"},"modified":"2025-04-09T15:09:04","modified_gmt":"2025-04-09T15:09:04","password":"","slug":"set-custom-dns-resolvers-in-your-vps","status":"publish","type":"docs","link":"https:\/\/truehost.com\/support\/knowledge-base\/set-custom-dns-resolvers-in-your-vps\/","title":{"rendered":"How To Set Custom DNS Resolvers In Your VPS"},"content":{"rendered":"\n<p>Do you want to set custom DNS resolvers in your VPS? This guide shows you how to and more.<\/p>\n\n\n\n<p>A DNS resolver is a server that translates domain names into IP addresses. When you type a domain name into your web browser, such as &#8220;<a href=\"http:\/\/www.google.com\">www.google.com<\/a>,&#8221; your computer sends a request to a DNS resolver to find the IP address of the website.&nbsp;<\/p>\n\n\n\n<p>The DNS resolver then queries a series of other DNS servers until it finds the IP address of the website.<\/p>\n\n\n\n<p>Without DNS resolvers, it would be impossible to use the internet. We must remember the IP addresses of all the websites we want to visit.<\/p>\n\n\n\n<p>There are two main types of DNS resolvers:&nbsp;<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Public: Companies like Google and Cloudflare operate public DNS resolvers available to anyone.&nbsp;<\/li><li>Private: Businesses and organizations use private DNS resolvers, which are only accessible to people within the organization.<\/li><\/ul>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Benefits of using a public DNS resolver:<\/strong><\/h2>\n\n\n\n<ol class=\"wp-block-list\"><li>Speed- public DNS resolvers are often faster than private DNS resolvers because they have a more extensive network of servers.<\/li><li>Privacy- they do not track your browsing activity, which can help to protect your privacy.<\/li><li>Security- often offers features that can help to protect your computer from malware and other threats.<\/li><li>Used to block ads and malware. Public DNS servers can be configured to block ads and malware.&nbsp;<\/li><li>Public DNS servers improve the performance and reliability of a user&#8217;s internet connection. Public DNS servers are often located in multiple locations, thus reducing latency and improving performance.<\/li><\/ol>\n\n\n\n<p>Here are some of the most popular public DNS resolvers:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li><em>Google Public DNS: `8.8.8.8` and `8.8.4.4`<\/em><\/li><li><em>Cloudflare Public DNS: `1.1.1.1` and `1.0.0.1`<\/em><\/li><li><em>OpenDNS: `208.67.222.222` and `208.67.220.220`<\/em><\/li><li><em>Quad9: `9.9.9.9` and `149.112.112.112`<\/em><\/li><\/ul>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Let\u2019s now set custom DNS Resolvers in your VPS:<\/strong><\/h2>\n\n\n\n<ol class=\"wp-block-list\"><li>Log in to <a href=\"https:\/\/truehost.com\/support\/knowledge-base\/backup-your-vps-from-the-client-area\/\">your VPS<\/a> control panel. In this case, we\u2019ll use the CyberPanel. Use your correct credentials to ensure easy access.<\/li><li>Find the DNS settings on your left side panel. Select Configure Default Nameservers, and on the next page, fill out the following:<\/li><\/ol>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/lh6.googleusercontent.com\/9hwSqeiMVOz9NC5thpjL7TWLPAbmcQABCLsVnO1xZW0bpT4qeYMN5hL4Upm7Rn4oUJsVIEhJKD7iYRFvrGHs0ZXMt9g5IkpQTatWEJ-wB1mGopqa8yMKMOqR0zr4gseGn-J_zrobIuxovIM9n9sUeqk\" alt=\"set custom DNS resolvers in your VPS\"\/><\/figure>\n\n\n\n<p>These are default Google\u2019s DNS.<\/p>\n\n\n\n<p>Once done, click Save. Now proceed to flush your DNS&nbsp; by rebooting the VPS. Upon reboot, the custom DNS is ready for use.<\/p>\n\n\n\n<p>It\u2019s that easy to set custom DNS resolvers in your VPS. Use it and reap the benefits of security and much more.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Do you want to set custom DNS resolvers in your VPS? This guide shows you how to and more. A DNS resolver is a server that translates domain names into IP addresses. When you type a domain name into your web browser, such as &#8220;www.google.com,&#8221; your computer sends a request to a DNS resolver to [&hellip;]<\/p>\n","protected":false},"author":23,"featured_media":0,"comment_status":"open","ping_status":"closed","template":"","meta":{"_eb_attr":"","_exactmetrics_skip_tracking":false,"_exactmetrics_sitenote_active":false,"_exactmetrics_sitenote_note":"","_exactmetrics_sitenote_category":0,"footnotes":""},"doc_category":[2140],"doc_tag":[],"class_list":["post-8850","docs","type-docs","status-publish","hentry","doc_category-dns"],"year_month":"2026-07","word_count":384,"total_views":0,"reactions":{"happy":0,"normal":0,"sad":0},"author_info":{"name":"Mark","author_nicename":"mark","author_url":"https:\/\/truehost.com\/support\/author\/mark\/"},"doc_category_info":[{"term_name":"DNS","term_url":"https:\/\/truehost.com\/support\/docs-category\/dns\/"}],"doc_tag_info":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.0 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How To Set Custom DNS Resolvers In Your VPS<\/title>\n<meta name=\"description\" content=\"Did you know you can set custom DNS resolvers in your VPS? This guide helps you accomplish that and reap the benefits of using Custom DNS.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/truehost.com\/support\/knowledge-base\/set-custom-dns-resolvers-in-your-vps\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How To Set Custom DNS Resolvers In Your VPS\" \/>\n<meta property=\"og:description\" content=\"Did you know you can set custom DNS resolvers in your VPS? This guide helps you accomplish that and reap the benefits of using Custom DNS.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/truehost.com\/support\/knowledge-base\/set-custom-dns-resolvers-in-your-vps\/\" \/>\n<meta property=\"article:modified_time\" content=\"2025-04-09T15:09:04+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/lh6.googleusercontent.com\/9hwSqeiMVOz9NC5thpjL7TWLPAbmcQABCLsVnO1xZW0bpT4qeYMN5hL4Upm7Rn4oUJsVIEhJKD7iYRFvrGHs0ZXMt9g5IkpQTatWEJ-wB1mGopqa8yMKMOqR0zr4gseGn-J_zrobIuxovIM9n9sUeqk\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/truehost.com\\\/support\\\/knowledge-base\\\/set-custom-dns-resolvers-in-your-vps\\\/\",\"url\":\"https:\\\/\\\/truehost.com\\\/support\\\/knowledge-base\\\/set-custom-dns-resolvers-in-your-vps\\\/\",\"name\":\"How To Set Custom DNS Resolvers In Your VPS\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/truehost.com\\\/support\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/truehost.com\\\/support\\\/knowledge-base\\\/set-custom-dns-resolvers-in-your-vps\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/truehost.com\\\/support\\\/knowledge-base\\\/set-custom-dns-resolvers-in-your-vps\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/lh6.googleusercontent.com\\\/9hwSqeiMVOz9NC5thpjL7TWLPAbmcQABCLsVnO1xZW0bpT4qeYMN5hL4Upm7Rn4oUJsVIEhJKD7iYRFvrGHs0ZXMt9g5IkpQTatWEJ-wB1mGopqa8yMKMOqR0zr4gseGn-J_zrobIuxovIM9n9sUeqk\",\"datePublished\":\"2023-07-14T08:54:42+00:00\",\"dateModified\":\"2025-04-09T15:09:04+00:00\",\"description\":\"Did you know you can set custom DNS resolvers in your VPS? This guide helps you accomplish that and reap the benefits of using Custom DNS.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/truehost.com\\\/support\\\/knowledge-base\\\/set-custom-dns-resolvers-in-your-vps\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/truehost.com\\\/support\\\/knowledge-base\\\/set-custom-dns-resolvers-in-your-vps\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/truehost.com\\\/support\\\/knowledge-base\\\/set-custom-dns-resolvers-in-your-vps\\\/#primaryimage\",\"url\":\"https:\\\/\\\/lh6.googleusercontent.com\\\/9hwSqeiMVOz9NC5thpjL7TWLPAbmcQABCLsVnO1xZW0bpT4qeYMN5hL4Upm7Rn4oUJsVIEhJKD7iYRFvrGHs0ZXMt9g5IkpQTatWEJ-wB1mGopqa8yMKMOqR0zr4gseGn-J_zrobIuxovIM9n9sUeqk\",\"contentUrl\":\"https:\\\/\\\/lh6.googleusercontent.com\\\/9hwSqeiMVOz9NC5thpjL7TWLPAbmcQABCLsVnO1xZW0bpT4qeYMN5hL4Upm7Rn4oUJsVIEhJKD7iYRFvrGHs0ZXMt9g5IkpQTatWEJ-wB1mGopqa8yMKMOqR0zr4gseGn-J_zrobIuxovIM9n9sUeqk\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/truehost.com\\\/support\\\/knowledge-base\\\/set-custom-dns-resolvers-in-your-vps\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/truehost.com\\\/support\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How To Set Custom DNS Resolvers In Your VPS\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/truehost.com\\\/support\\\/#website\",\"url\":\"https:\\\/\\\/truehost.com\\\/support\\\/\",\"name\":\"\",\"description\":\"Help In a Click\",\"publisher\":{\"@id\":\"https:\\\/\\\/truehost.com\\\/support\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/truehost.com\\\/support\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/truehost.com\\\/support\\\/#organization\",\"name\":\"Truehost Kenya\",\"url\":\"https:\\\/\\\/truehost.com\\\/support\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/truehost.com\\\/support\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/truehost.com\\\/support\\\/wp-content\\\/uploads\\\/2026\\\/04\\\/cropped-image_2026-04-16_174808866.png\",\"contentUrl\":\"https:\\\/\\\/truehost.com\\\/support\\\/wp-content\\\/uploads\\\/2026\\\/04\\\/cropped-image_2026-04-16_174808866.png\",\"width\":240,\"height\":48,\"caption\":\"Truehost Kenya\"},\"image\":{\"@id\":\"https:\\\/\\\/truehost.com\\\/support\\\/#\\\/schema\\\/logo\\\/image\\\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How To Set Custom DNS Resolvers In Your VPS","description":"Did you know you can set custom DNS resolvers in your VPS? This guide helps you accomplish that and reap the benefits of using Custom DNS.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/truehost.com\/support\/knowledge-base\/set-custom-dns-resolvers-in-your-vps\/","og_locale":"en_US","og_type":"article","og_title":"How To Set Custom DNS Resolvers In Your VPS","og_description":"Did you know you can set custom DNS resolvers in your VPS? This guide helps you accomplish that and reap the benefits of using Custom DNS.","og_url":"https:\/\/truehost.com\/support\/knowledge-base\/set-custom-dns-resolvers-in-your-vps\/","article_modified_time":"2025-04-09T15:09:04+00:00","og_image":[{"url":"https:\/\/lh6.googleusercontent.com\/9hwSqeiMVOz9NC5thpjL7TWLPAbmcQABCLsVnO1xZW0bpT4qeYMN5hL4Upm7Rn4oUJsVIEhJKD7iYRFvrGHs0ZXMt9g5IkpQTatWEJ-wB1mGopqa8yMKMOqR0zr4gseGn-J_zrobIuxovIM9n9sUeqk","type":"","width":"","height":""}],"twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/truehost.com\/support\/knowledge-base\/set-custom-dns-resolvers-in-your-vps\/","url":"https:\/\/truehost.com\/support\/knowledge-base\/set-custom-dns-resolvers-in-your-vps\/","name":"How To Set Custom DNS Resolvers In Your VPS","isPartOf":{"@id":"https:\/\/truehost.com\/support\/#website"},"primaryImageOfPage":{"@id":"https:\/\/truehost.com\/support\/knowledge-base\/set-custom-dns-resolvers-in-your-vps\/#primaryimage"},"image":{"@id":"https:\/\/truehost.com\/support\/knowledge-base\/set-custom-dns-resolvers-in-your-vps\/#primaryimage"},"thumbnailUrl":"https:\/\/lh6.googleusercontent.com\/9hwSqeiMVOz9NC5thpjL7TWLPAbmcQABCLsVnO1xZW0bpT4qeYMN5hL4Upm7Rn4oUJsVIEhJKD7iYRFvrGHs0ZXMt9g5IkpQTatWEJ-wB1mGopqa8yMKMOqR0zr4gseGn-J_zrobIuxovIM9n9sUeqk","datePublished":"2023-07-14T08:54:42+00:00","dateModified":"2025-04-09T15:09:04+00:00","description":"Did you know you can set custom DNS resolvers in your VPS? This guide helps you accomplish that and reap the benefits of using Custom DNS.","breadcrumb":{"@id":"https:\/\/truehost.com\/support\/knowledge-base\/set-custom-dns-resolvers-in-your-vps\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/truehost.com\/support\/knowledge-base\/set-custom-dns-resolvers-in-your-vps\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/truehost.com\/support\/knowledge-base\/set-custom-dns-resolvers-in-your-vps\/#primaryimage","url":"https:\/\/lh6.googleusercontent.com\/9hwSqeiMVOz9NC5thpjL7TWLPAbmcQABCLsVnO1xZW0bpT4qeYMN5hL4Upm7Rn4oUJsVIEhJKD7iYRFvrGHs0ZXMt9g5IkpQTatWEJ-wB1mGopqa8yMKMOqR0zr4gseGn-J_zrobIuxovIM9n9sUeqk","contentUrl":"https:\/\/lh6.googleusercontent.com\/9hwSqeiMVOz9NC5thpjL7TWLPAbmcQABCLsVnO1xZW0bpT4qeYMN5hL4Upm7Rn4oUJsVIEhJKD7iYRFvrGHs0ZXMt9g5IkpQTatWEJ-wB1mGopqa8yMKMOqR0zr4gseGn-J_zrobIuxovIM9n9sUeqk"},{"@type":"BreadcrumbList","@id":"https:\/\/truehost.com\/support\/knowledge-base\/set-custom-dns-resolvers-in-your-vps\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/truehost.com\/support\/"},{"@type":"ListItem","position":2,"name":"How To Set Custom DNS Resolvers In Your VPS"}]},{"@type":"WebSite","@id":"https:\/\/truehost.com\/support\/#website","url":"https:\/\/truehost.com\/support\/","name":"","description":"Help In a Click","publisher":{"@id":"https:\/\/truehost.com\/support\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/truehost.com\/support\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/truehost.com\/support\/#organization","name":"Truehost Kenya","url":"https:\/\/truehost.com\/support\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/truehost.com\/support\/#\/schema\/logo\/image\/","url":"https:\/\/truehost.com\/support\/wp-content\/uploads\/2026\/04\/cropped-image_2026-04-16_174808866.png","contentUrl":"https:\/\/truehost.com\/support\/wp-content\/uploads\/2026\/04\/cropped-image_2026-04-16_174808866.png","width":240,"height":48,"caption":"Truehost Kenya"},"image":{"@id":"https:\/\/truehost.com\/support\/#\/schema\/logo\/image\/"}}]}},"_links":{"self":[{"href":"https:\/\/truehost.com\/support\/wp-json\/wp\/v2\/docs\/8850","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/truehost.com\/support\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/truehost.com\/support\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/truehost.com\/support\/wp-json\/wp\/v2\/users\/23"}],"replies":[{"embeddable":true,"href":"https:\/\/truehost.com\/support\/wp-json\/wp\/v2\/comments?post=8850"}],"version-history":[{"count":1,"href":"https:\/\/truehost.com\/support\/wp-json\/wp\/v2\/docs\/8850\/revisions"}],"predecessor-version":[{"id":8851,"href":"https:\/\/truehost.com\/support\/wp-json\/wp\/v2\/docs\/8850\/revisions\/8851"}],"wp:attachment":[{"href":"https:\/\/truehost.com\/support\/wp-json\/wp\/v2\/media?parent=8850"}],"wp:term":[{"taxonomy":"doc_category","embeddable":true,"href":"https:\/\/truehost.com\/support\/wp-json\/wp\/v2\/doc_category?post=8850"},{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/truehost.com\/support\/wp-json\/wp\/v2\/doc_tag?post=8850"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}