In this tutorial, we will guide you through the process of installing SmartDNS on MXLinux Latest. SmartDNS is a DNS server that can help you bypass geographical restrictions when browsing the internet. It is an open-source software available on GitHub.
Before we get started, make sure that you have the following:
Open the terminal by pressing Ctrl + Alt + T
or by clicking on the terminal icon in the application menu.
Install the required dependencies by running the following command:
sudo apt-get install build-essential libuv1-dev libudns-dev libmbedtls-dev libcares-dev
This command will install the necessary packages needed to compile and run SmartDNS.
Clone the SmartDNS repository using Git by running the following command:
git clone https://github.com/pymumu/smartdns.git
Wait for the download to complete.
Navigate to the cloned directory by running the following command:
cd smartdns
Compile and install SmartDNS by running the following commands:
./configure
make
sudo make install
This will take a few minutes to complete. Wait until the installation is finished.
Start the SmartDNS service by running the following command:
sudo systemctl start smartdns
This will start the SmartDNS service. If you want to enable the SmartDNS service to start automatically at boot, run the following command:
sudo systemctl enable smartdns
This will enable the SmartDNS service to start automatically at boot.
Verify that the SmartDNS service is running by running the following command:
sudo systemctl status smartdns
This command will display the status of the SmartDNS service. If it is running, you should see output similar to the following:
smartdns.service - A local DNS server
Loaded: loaded (/etc/systemd/system/smartdns.service; enabled; vendor preset: enabled)
Active: active (running) since Sun 2021-06-06 14:03:32 IST; 17s ago
Process: 3300 ExecStart=/usr/local/sbin/smartdns -f -c /usr/local/etc/smartdns/smartdns.conf (code=exited, status=0/SUCCESS)
Tasks: 1 (limit: 4915)
Memory: 11.1M
CGroup: /system.slice/smartdns.service
└─3302 /usr/local/sbin/smartdns -f -c /usr/local/etc/smartdns/smartdns.conf
If the service is not running, try restarting the service by running:
sudo systemctl restart smartdns
Congratulations, you have successfully installed and configured SmartDNS on your MXLinux Latest machine. You can now configure your devices to use SmartDNS as their DNS server to bypass geographical restrictions when browsing the internet.
If you want to self-host in an easy, hands free way, need an external IP address, or simply want your data in your own hands, give IPv6.rs a try!
Alternatively, for the best virtual desktop, try Shells!