Skip to content

u/chromicant

In this archive from Jan 2015 to Sep 2016

0
posts
5
comments
0
media
6
score

Top comments

Pretty simple, I did have to make my own service file for this. Here's the rough steps I followed:

  • Copy the dnscrypt-proxy.service file from /usr/lib/systemd/system to /etc/systemd/system

  • Edit the /etc/systemd/system/dnscrypt-proxy.service file. Specifically, you want to edit the ExecStart line to read:

      ExecStart=/usr/bin/dnscrypt-proxy \
      --local-address=${DNSCRYPT_LOCALIP}:${DNSCRYPT_LOCALPORT} \
      --resolver-address=${DNSCRYPT_RESOLVERIP}:${DNSCRYPT_RESOLVERPORT} \
      --provider-name=${DNSCRYPT_PROVIDER_NAME} \
      --provider-key=${DNSCRYPT_PROVIDER_KEY} \
      --user=${DNSCRYPT_USER} \
      --edns-payload-size=<edns size as determine from said wiki page>
    
  • Edit /etc/conf.d/dnscrypt-proxy to fill in the important information (provider name, key, IPs, and ports)

  • systemctl enable dnscrypt-proxy && systemctl start dnscrypt-proxy

Make sure you set resolv.conf to use the proxy. There's a bunch of ways to do that, and not knowing your network setup I won't hazard to guess what needs to be done.

For the advanced nerds who will question why I copied the service file over - my setup involves using a dnscrypt-proxy@.service setup, and using unbound to handle caching. If there's interest, I can show how I've done that - even checks DNSSEC and handles internal networks + dn42.

2 points

Before - Slackware back in the early 90's, then Debian due to my ARM fetish. Some Fedora / Red Hat on my desktops for reasons.

One day, wanted to update my ARM boxes, and learn systemd - and Arch was the best fit. Now all my machines are Arch.

1 points

Although, do be careful. Got bit by a bug in a recent mono update to 3.12; the bug was identified after upstream made the 3.12 release. Having said that, this could happen with any distribution. It's just something you need to be ready for.

Bonus points if you can identify the bug and put it into the Arch bugtracker. See here on how to report a bug.

1 points

Subreddits

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.