Trying to change DNS servers in an Ubuntu workstation

Hi,

I’ve setup my Ubuntu workstation using the more secure method from the tutorial and so far everything was working perfect.
I wanted to change the DNS servers used by my machine to the open DNS servers and tried to do this by editing the /etc/network/interfaces file.

"# interfaces(5) file used by ifup(8) and ifdown(8)
auto lo
iface lo inet loopback

auto eth0

iface eth0 inet static

address 10.152.152.50
netmask 255.255.192.0

gateway 10.152.152.10

dns-nameservers 208.67.222.222 208.67.220.220"

Is it possible to add specific DNS servers to a Whonix WS?
Thanks for your help.

Edit by Patrick:
Minor - Disabled smilies, because none used and because ‘(8)’ messed up the text.

Briefly…

DNS:

  • usually UDP
  • sometimes TCP mode possible

Tor network:

  • only supports TCP

You see the difficulty… So try using TCP mode. Or use weird workarounds if it’s worth it:

I also recommend reading this because it’s quite related to your question of modifying DNS servers, UDP, TCP, DNS security, how to make it really(!) work and whatnot: