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)
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.
BubbleUPmP on the Nexus 5, and mediatomb + bubbleupnpserver on the ARM Archlinux box. Works well for me, since I can use one server (mediatomb) for everything (I have some UPnP capable TVs in the house), and just a small add-on component for the Android devices.
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.
Pretty simple, I did have to make my own service file for this. Here's the rough steps I followed:
Copy the
dnscrypt-proxy.servicefile from/usr/lib/systemd/systemto/etc/systemd/systemEdit the
/etc/systemd/system/dnscrypt-proxy.servicefile. Specifically, you want to edit theExecStartline to read:Edit
/etc/conf.d/dnscrypt-proxyto fill in the important information (provider name, key, IPs, and ports)systemctl enable dnscrypt-proxy && systemctl start dnscrypt-proxyMake sure you set
resolv.confto 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@.servicesetup, and usingunboundto handle caching. If there's interest, I can show how I've done that - even checks DNSSEC and handles internal networks + dn42.Interesting. Only used bup as a git-annex back end. Curious how you use the two together.
BubbleUPmP on the Nexus 5, and mediatomb + bubbleupnpserver on the ARM Archlinux box. Works well for me, since I can use one server (mediatomb) for everything (I have some UPnP capable TVs in the house), and just a small add-on component for the Android devices.
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.
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.