How can we help you?

Change your DNS servers on Linux

This article is available in FrenchGerman, Spanish and Italian.

Here’s how to change your DNS configuration in Linux with NordVPN:

  1. Open the terminal by pressing Ctrl + T
  2. Enter the following command to become the root user:

  3. Once you’ve entered your root password, run these commands:

    rm -r /etc/resolv.conf
    nano /etc/resolv.conf
  4. When the text editor opens, type in the following lines:

  5. Close and save the file. You can do so by clicking Ctrl + X and pressing Y. Continue typing in the terminal:

    chattr +i /etc/resolv.conf
    reboot now

That’s it! You are now using NordVPN’s private DNS servers.

Related Articles
© Copyright 2023 all rights reservedSelf-service byGenesys