{"id":1015,"date":"2021-11-12T08:46:24","date_gmt":"2021-11-12T08:46:24","guid":{"rendered":"https:\/\/blog.hostinger.io\/support\/2021\/11\/12\/5726596-how-to-change-the-dns-resolvers-on-hostinger-vps\/"},"modified":"2026-10-09T07:35:26","modified_gmt":"2026-10-09T07:35:26","slug":"5726596-how-to-change-the-dns-resolvers-on-hostinger-vps","status":"publish","type":"post","link":"https:\/\/www.hostinger.com\/support\/5726596-how-to-change-the-dns-resolvers-on-hostinger-vps\/","title":{"rendered":"How to change the DNS resolvers on Hostinger VPS"},"content":{"rendered":"<p>To change the DNS resolvers on a Hostinger VPS, open your server&rsquo;s Settings page, select<strong> Change DNS resolvers<\/strong>, enter the new addresses in the IP address 1 and IP address 2 fields, and click Save DNS resolvers. A DNS resolver is a server that converts domain names into IP addresses, and Hostinger provides recommended DNS resolvers for your VPS by default. Without a working DNS resolver, your website stays reachable by IP address but not by its domain name.<\/p><h2 id=\"h_900534c9a8\">How to change the DNS resolvers<\/h2><p class=\"no-margin\">While <b>not recommended<\/b>, you can still use your own DNS resolvers by navigating to the <b><a data-click-id=\"hgr-post-content-link-vps\" class=\"intercom-content-link\" href=\"https:\/\/hpanel.hostinger.com\/servers\/\" target=\"_blank\" rel=\"noopener\">VPS<\/a><\/b> section and choosing <b>Manage<\/b> next to your chosen server:<img decoding=\"async\" class=\"alignnone wp-image-11954 size-large\" src=\"https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/06\/2026-06-25_16-19-1024x598.png\" alt=\"\" width=\"1024\" height=\"598\" srcset=\"https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/06\/2026-06-25_16-19-1024x598.png 1024w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/06\/2026-06-25_16-19-300x175.png 300w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/06\/2026-06-25_16-19-768x449.png 768w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/06\/2026-06-25_16-19-1536x898.png 1536w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/06\/2026-06-25_16-19-2048x1197.png 2048w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/p><div class=\"intercom-container intercom-align-center\"><\/div><p class=\"no-margin\">Then, open the <b>Settings<\/b> page:<\/p><div class=\"intercom-container intercom-align-center\"><img decoding=\"async\" class=\"alignnone wp-image-11917 size-large\" src=\"https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/06\/2026-06-24_22-48-1024x541.png\" alt=\"\" width=\"1024\" height=\"541\" srcset=\"https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/06\/2026-06-24_22-48-1024x541.png 1024w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/06\/2026-06-24_22-48-300x158.png 300w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/06\/2026-06-24_22-48-768x406.png 768w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/06\/2026-06-24_22-48.png 1378w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/div><p class=\"no-margin\">Next, scroll down and select <b>Change DNS resolvers<\/b>:<\/p><p><img decoding=\"async\" class=\"alignnone size-full wp-image-20141\" src=\"https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/10\/2026-10-09_14-33.png\" alt=\"\" width=\"1133\" height=\"516\" srcset=\"https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/10\/2026-10-09_14-33.png 1133w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/10\/2026-10-09_14-33-300x137.png 300w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/10\/2026-10-09_14-33-1024x466.png 1024w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/10\/2026-10-09_14-33-768x350.png 768w\" sizes=\"(max-width: 1133px) 100vw, 1133px\" \/><\/p><p class=\"no-margin\">Enter the new DNS resolvers on the <b>IP address 1<\/b> and <b>IP address 2<\/b> fields and click on <b>Save DNS resolvers<\/b>.<\/p><p><img decoding=\"async\" class=\"alignnone wp-image-12013 size-full\" src=\"https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/06\/2026-06-26_14-56.png\" alt=\"\" width=\"976\" height=\"890\" srcset=\"https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/06\/2026-06-26_14-56.png 976w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/06\/2026-06-26_14-56-300x274.png 300w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/06\/2026-06-26_14-56-768x700.png 768w\" sizes=\"(max-width: 976px) 100vw, 976px\" \/><\/p><p class=\"no-margin\">This feature works by automatically updating the <b><a data-click-id=\"hgr-post-content-link-resolv-conf-file\" class=\"intercom-content-link\" href=\"https:\/\/man7.org\/linux\/man-pages\/man5\/resolv.conf.5.html\" target=\"_blank\" rel=\"noopener\">resolv.conf file<\/a> <\/b>on your VPS; therefore, you won&rsquo;t need to edit this file manually when specifying the new DNS resolvers.<\/p><div class=\"intercom-interblocks-callout\" style=\"background-color: #e3e7fa80;border-color: #334bfa33\">See <a data-click-id=\"hgr-post-content-link-how-to-setup-reverse-dns-on-vps\" href=\"https:\/\/www.hostinger.com\/support\/4805528-how-to-setup-reverse-dns-on-vps\/\">How to setup reverse DNS on VPS<\/a> for other details about reverse DNS, which maps your IP address back to a domain name.<\/div><p>Your VPS now uses the DNS resolvers you entered.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Understanding what are DNS resolvers and how to add custom DNS resolvers for your VPS<\/p>\n","protected":false},"author":581,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"include_on_kodee":true,"footnotes":""},"categories":[199],"tags":[],"class_list":["post-1015","post","type-post","status-publish","format-standard","hentry","category-vps-management"],"hreflangs":[{"locale":"en-US","link":"https:\/\/www.hostinger.com\/support\/5726596-how-to-change-the-dns-resolvers-on-hostinger-vps","default":1},{"locale":"es-ES","link":"https:\/\/www.hostinger.com\/es\/support\/5726596-que-son-los-resolutores-de-dns-en-hostinger","default":0},{"locale":"fr-FR","link":"https:\/\/www.hostinger.com\/fr\/support\/5726596-que-sont-les-resolveurs-dns","default":0},{"locale":"id-ID","link":"https:\/\/www.hostinger.com\/id\/support\/5726596-apa-itu-dns-resolver-di-hostinger","default":0},{"locale":"pt-BR","link":"https:\/\/www.hostinger.com\/br\/support\/5726596-o-que-sao-resolvedores-dns","default":0},{"locale":"uk-UA","link":"https:\/\/www.hostinger.com\/ua\/support\/5726596-\u044f\u043a-\u0437\u043c\u0456\u043d\u0438\u0442\u0438-dns-\u0440\u0435\u0437\u043e\u043b\u0432\u0435\u0440\u0438-\u0434\u043b\u044f-vps-\u043d\u0430-hostinger","default":0}],"include_on_kodee":true,"_links":{"self":[{"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts\/1015","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/users\/581"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/comments?post=1015"}],"version-history":[{"count":8,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts\/1015\/revisions"}],"predecessor-version":[{"id":20142,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts\/1015\/revisions\/20142"}],"wp:attachment":[{"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/media?parent=1015"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/categories?post=1015"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/tags?post=1015"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}