How can we help you?

Change your DNS servers on Linux with NordVPN

This article is available in DutchDanish, Norwegian, SwedishFrenchGerman, Spanish, Japanese, Korean, Polish, Portuguese-Brazilian, Traditional Chinese, and Italian.

Note: when connected to a NordVPN server, NordVPN’s private DNS servers are used by default.  

To use NordVPN’s private DNS servers on Linux when not connected to a NordVPN server, follow one of the two methods:

Using Network Manager

  1. Open Settings, then select either Network or Wi-Fi based on your network type.
  2. Click the gear button and go to the IPv4 tab.
  3. Next to DNS, disable the Automatic toggle.
  4. In the DNS field enter 103.86.96.100 and 103.86.99.100 separated by a comma: 103.86.96.100,103.86.99.100

  5. Click Apply
  6. Open Terminal and run the following command to restart the Network Manager daemon:
    sudo systemctl restart NetworkManager
  7. Enter your sudo password.

Using the Terminal

  1. Open the Terminal by pressing Ctrl + Alt + T on your keyboard, and run the following command:
    sudo nano /etc/systemd/resolved.conf
  2. Locate the DNS and FallbackDNS lines.
  3. Uncomment the lines by removing the hash (#) symbols.
  4. Enter the DNS addresses as follows:
    DNS=103.86.96.100
    FallbackDNS=103.86.99.100



     
  5. Press Ctrl + XY, and Enter keys to exit and save the changes.
  6. Run the following command to ensure that the network changes are applied:
    sudo systemctl restart systemd-resolved
  7. If requested, please enter your sudo password.
Related Articles
© Copyright 2023 all rights reservedSelf-service byGenesys