-
Notifications
You must be signed in to change notification settings - Fork 1k
Updates
#! /bin/sh
INSTALL_DIR="/opt/dnscrypt-proxy" LATEST_URL="https://api.github.com/repos/jedisct1/dnscrypt-proxy/releases/latest"
Update() {
workdir="$(mktemp -d)"
curl -sL
lversion=$("${INSTALL_DIR}/dnscrypt-proxy" -version) rmersion=$(curl -sL ${LATEST_URL} | grep "tag_name" | head -1 | cut -d " -f 4) [ -z "$lversion" || -z "$rmersion" ] && exit 1
echo locally installed echo "$lversion"
echo remote git version echo "$rmersion"
if [ "$rmersion" != "$lversion" ]; then echo Updating && Update else echo No Update Needed fi
In somecases if you want to run dnscrypt-proxy as a non-root user you'll get the error "[FATAL] listen udp 0.0.0.0:53: bind: permission denied"
to solve this problem you can run the following command and allow dnscrypt to have access to a low level port :
sudo setcap cap_net_bind_service=+ep $(which dnscrypt-proxy)
- Home
- Installation
- Configuration
- Checking that your DNS traffic is encrypted
- Automatic Updates
- Server sources
- Combining blocklists
- Public Blocklist and other configuration files
- Building from source
- Run your own DNSCrypt server in under 10 minutes
- DNS stamps specifications
- Windows Tips
- dnscrypt-proxy in the media
- Planned Features