Mac OS X; using home-brew, dnscrypt-proxy. Want to use alternate DNS server such as OpenNIC

Comments

8 comments

  • Avatar
    rotblitz

    "Could you possibly give me step by step instructions to use one of these (or similar) DNS services with dnscrypt, instead of Open DNS?"

    Step by step?  There is just one step...

    See http://dnscrypt.org/ under Usage.

    dnscrypt-proxy --help
    dnscrypt-proxy 1.3.3

    Options:
      -a    --local-address=...
      -e    --edns-payload-size=...
      -h    --help
      -k    --provider-key=...
      -m    --loglevel=...
      -n    --max-active-requests=...
      -X    --plugin=...
      -r    --resolver-address=...
      -u    --user=...
      -N    --provider-name=...
      -t    --test=...
      -T    --tcp-only
      -V    --version

    That said:  dnscrypt-proxy --resolver-address=RESOLVER_ADDRESS

    0
    Comment actions Permalink
  • Avatar
    jedisct1

    Do not forget the provider name and the provider key.

    0
    Comment actions Permalink
  • Avatar
    9da4bf5e

    Thanks, but entering even the basic command of "dnscrypt-proxy" gives me this error

    "-bash: dnscrypt-proxy: command not found"

    I clearly am pretty clueless with unix commands. Any ideas why this command is not found?

    0
    Comment actions Permalink
  • Avatar
    rotblitz

    You need to cd to the directory where the dnscrypt-proxy is located, or you need to specify the directory path.

    0
    Comment actions Permalink
  • Avatar
    jedisct1

    /usr/local/sbin/dnscrypt-proxy should work.

    0
    Comment actions Permalink
  • Avatar
    9da4bf5e

    fellows; I am getting somewhere.

    /usr/local/sbin/dnscrypt-proxy

    did indeed help.

    ls command replies with:

    dnscrypt-proxy

    The command I input then was:

    /usr/local/sbin/dnscrypt-proxy --resolver-address=113.20.6.2:443 --provider-name=2.dnscrypt-cert.cloudns.com.au --provider-key=1971:7C1A:C550:6C09:F09B:ACB1:1AF7:C349:6425:2676:247F:B738:1C5A:243A:C1CC:89F4 

    I was replied with:

    [INFO] Initializing libsodium for optimal performance

    [INFO] Generating a new key pair

    [INFO] Done

    [ERROR] Unable to bind (UDP) [Permission denied]

    Question:

    1. what does the error message mean?

    2. how can I fix it?

    3. how can I then confirm dnscryp-proxy is indeed running and using CloudNS?

    Thank you for your patience. I'm sure this will help other Mac users in the future.

     

    0
    Comment actions Permalink
  • Avatar
    9da4bf5e

    bump

    0
    Comment actions Permalink
  • Avatar
    jedisct1

    Type 'sudo' before '/usr/local/sbin/dnscrypt-proxy'

    0
    Comment actions Permalink

Please sign in to leave a comment.