Wait! We Have a Special Deal!

Get CactusVPN for $3.5/mo!

Save 64% Now
30-Day Money-Back Guarantee
Setup Tutorials

How to set up Smart DNS on Linux Ubuntu

In this tutorial we will show you how to set up Smart DNS on Linux Ubuntu but first let’s see what are our requirements and recommendations.

Requirements

In order to set up the Smart DNS you will need:

  1. A CactusVPN account. If you don’t have one you can try our services for free.
  2. Your DNS addresses. You can find them in Settings -> DNS Servers in Your Account our website.

If you still want to set up Smart DNS manually, go step-by-step through following instructions:

Part I. Validate Your IP Address

If you have already validated your IP address go straight to the “Part II. Change your DNS addresses” of this tutorial.

  1. Sign in to your account on our website and go to Settings -> Validate Your IP Address.
  2. Click on Validate IP button.
Windows XP Smart DNS Setup: Step 1

If you see the “Validated” green label near your IP address, go straight to the “Part II. Change your Windows DNS addresses” of this tutorial

Remember! You have to validate your IP address each time it changes. If your Smart DNS service is not working, just try to validate your IP address again.

You also have other two options to validate an IP address:

Part II. Change your Ubuntu DNS addresses

This has to be done only once.

It is important to save your original DNS settings before making any changes. You might need them in case you will want to switch back to your original settings.
  1. Go to “Search your computer and online resources” (1).

    iPad Smart DNS Setup: Step 1
  2. Type “terminal” (2). The “Terminal” icon (3) will appear, click on it.

    iPad Smart DNS Setup: Step 2
  3. The following window will open. There write the following command sudo nano /etc/resolv.conf (4).

    iPad Smart DNS Setup: Step 5
  4. Change DNS nameservers as in image below (5). You can find them in Settings -> DNS Servers in Your Account on our website.

    iPad Smart DNS Setup: Step 4
  5. To save the changes use “ ctrl + o “ shortcut and “ ctrl + x ” to exit the editor.
  6. Restart the browser.
  7. Test if the Smart DNS service is configured correctly.

That’s all!

VPN and Smart DNS Services

Protect online privacy, secure your connection and access blocked websites

Try CactusVPN For Free