DNSCrypt / dnscrypt-proxy

dnscrypt-proxy 2 - A flexible DNS proxy, with support for encrypted DNS protocols.
https://dnscrypt.info
ISC License
11.28k stars 1k forks source link

How do we do auto-updates of DNSCrypt in FreeBSD? #1560

Closed Jsalas424 closed 3 years ago

Jsalas424 commented 3 years ago

Subject

Description

Are there instructions anywhere for auto-updating a FreeBSD (pfsense) system similar to the Ubuntu ones?

https://github.com/DNSCrypt/dnscrypt-proxy/wiki/Updates

welwood08 commented 3 years ago

If you installed dnscrypt-proxy using the instructions on the wiki for pfsense then I don't think the Linux update script you linked will be compatible since it expects the service to be installed in a different way.

If you're not comfortable making the necessary changes to that update script and assuming pfsense is similar to vanilla FreeBSD then I'd recommend a simpler alternative: install with pkg install dnscrypt-proxy2 (if you want to re-use your existing configuration, it should be in /etc/dnscrypt-proxy/) and then do updates with pkg update as a cronjob.