I added a command using startup Applications but it always fail.

/usr/local/sbin/dnscrypt-proxy -d -R opendns -a

In order to have it working properly I need to use sudo:

sudo dnscrypt-proxy -d -R opendns -a

Is there a simple way to do this?

  • Seems like you did not add a sudo to gain root privileges to your startup command. Add it and make sure you also add the permission to run that specific command with sudo without being asked for a password. Therefore an additional config file has to be included in /etc/sudoers.d/ to set up this. – Byte Commander Feb 21 '15 at 15:11
  • You should consider formatting Terminal commands and output as code. – Xweque Feb 21 '15 at 18:32
  • I've finally be able to run it at startup by using visudo. Thanks. – Fardiaz Feb 24 '15 at 2:55

May be you should use the Ubuntu packages from my PPA as I usually provide the latest available version :


Explanations on how to use it are within a webupd8 article :

Encrypt DNS Traffic In Ubuntu With DNSCrypt [Ubuntu PPA]


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.