mc-node.net →

How do I set the correct nameservers?

🖥️ VPS · Updated 05/03/2025

How do I set the correct nameservers?

What are nameservers?

Nameservers are essential for internet traffic. They translate readable domain names into IP addresses, so users can reach the right websites. Without nameservers, you would need direct access to websites using IP addresses, which is inconvenient. Nameservers make it easy to visit websites by converting names into technical addresses.

How do I set them?

  1. Connect to the VPS via SSH.

How do I set the correct nameservers?

You can do this with Termius or Putty. In this tutorial we use Termius!
  1. Enter the following command to open the nameservers file: nano /etc/resolv.conf.

How do I set the correct nameservers?

  1. Copy and paste the following into the file:
nameserver 1.1.1.1
nameserver 8.8.8.8

How do I set the correct nameservers?

In Termius you paste with ctrl + shift + v
  1. Save the file:
In Termius you save by1. pressing ctrl + x2. then pressing y3. and finally enter.You have now set the nameservers correctly. If something doesn't work, don't be afraid to open a ticket