Install Tor CLI

  • sudo apt install tor

Add the DNS port to your Tor settings

  • sudo nano /etc/tor/torrc
Add this line
  • DNSPort (a port you choose) IsolateDestAddr

Save the file and modify your DNS settings

  • sudo nano /etc/resolv.conf
Remove any nameserver line and add this one
  • nameserver 127.0.0.1:(the port you took before)