Trying to change DNS servers in an Ubuntu workstation


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




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.



  • 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:

[Imprint] [Privacy Policy] [Cookie Policy] [Terms of Use] [E-Sign Consent] [DMCA] [Contributors] [Investors] [Priority Support] [Professional Support]