Skip to content

Installation on Arch Linux

josh edited this page Mar 31, 2019 · 4 revisions

Installation on Arch Linux

pacman -S dnscrypt-proxy

There are two mututally exclusive ways to start dnscrypt-proxy: either with systemd socket activation, or the systemd service file.

Start through socket activation

Note: Make sure to edit your /etc/dnscrypt-proxy/dnscrypt-proxy.toml accordingly (use an empty set for your listen_addresses, aka. listen_addresses = [ ]).

Activate & start the systemd socket (defaults to port 53 for ipv4), which will automatically start the service:

systemctl enable --now dnscrypt-proxy.socket

Start through service

Note: Make sure to edit your /etc/dnscrypt-proxy/dnscrypt-proxy.toml accordingly (setup listen_addresses).

Enable & start the systemd service directly, without using socket activation:

systemctl enable --now dnscrypt-proxy.service

Refer to the official systemd manual pages on how to work with services and sockets.

Using official Archlinux package is recommended and you may try opening a new bug against dnscrypt-proxy package or ask on Archlinux forums about your issues.

Clone this wiki locally