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
- Open Settings, then select either Network or Wi-Fi based on your network type.
- Click the gear button and go to the IPv4 tab.
- Next to DNS, disable the Automatic toggle.
- 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
- Click Apply.
- Open Terminal and run the following command to restart the Network Manager daemon:
sudo systemctl restart NetworkManager
- Enter your sudo password.
Using the Terminal
- Open the Terminal by pressing Ctrl + Alt + T on your keyboard, and run the following command:
sudo nano /etc/systemd/resolved.conf
- Locate the DNS and FallbackDNS lines.
- Uncomment the lines by removing the hash (#) symbols.
- Enter the DNS addresses as follows:
DNS=103.86.96.100
FallbackDNS=103.86.99.100 - Press Ctrl + X, Y, and Enter keys to exit and save the changes.
- Run the following command into your Linux machine to ensure that the network changes are applied:
sudo systemctl restart systemd-resolved
- If requested, please enter your sudo password.