How to Change the DNS Resolvers on Hostinger VPS

Understanding what are DNS resolvers and how to add custom DNS resolvers for your VPS

Updated 2 weeks ago

A DNS resolver is a server that converts domain names into IP addresses. Without it, your website would not be accessible. At Hostinger, we provide our own recommended DNS resolvers for your VPS by default.

How to change the DNS resolvers

While not recommended, you can still use your own DNS resolvers by navigating to the VPS section and choosing Manage next to your chosen server:

Hostinger VPS list showing the Manage button highlighted for example.vps

Then, open the Settings page:

Hostinger VPS sidebar with Settings selected and highlighted

Next, scroll down and select Change DNS resolvers:

Hostinger VPS DNS resolvers option to change DNS resolvers selected

Enter the new DNS resolvers on the IP address 1 and IP address 2 fields and click on Save DNS resolvers.

This feature works by automatically updating the resolv.conf file on your VPS; therefore, you won’t need to edit this file manually when specifying the new DNS resolvers.