Update pkg-readme and rc script for dnscrypt-proxy; "-R opendns" was the
package's old default but this has been replaced in the csv file since the OpenDNS acquisition. There is now no default; select a server yourself and configure it as shown in the readme.
This commit is contained in:
parent
b5d32276a3
commit
9c4602dbfa
@ -1,9 +1,10 @@
|
||||
# $OpenBSD: Makefile,v 1.18 2016/02/04 00:20:09 sthen Exp $
|
||||
# $OpenBSD: Makefile,v 1.19 2016/02/04 14:29:25 sthen Exp $
|
||||
|
||||
COMMENT-main= secure communications between a DNS client and resolver
|
||||
COMMENT-plugins= example plugins for dnscrypt-proxy
|
||||
|
||||
V= 1.6.1
|
||||
REVISION-main= 0
|
||||
|
||||
DISTNAME= dnscrypt-proxy-${V}
|
||||
CATEGORIES= net
|
||||
|
@ -1,11 +1,11 @@
|
||||
$OpenBSD: README-main,v 1.4 2014/07/22 10:55:40 ajacoutot Exp $
|
||||
$OpenBSD: README-main,v 1.5 2016/02/04 14:29:25 sthen Exp $
|
||||
|
||||
+-----------------------------------------------------------------------
|
||||
| Running ${FULLPKGNAME} on OpenBSD
|
||||
+-----------------------------------------------------------------------
|
||||
|
||||
In order to perform queries over DNSCrypt, using OpenDNS as a
|
||||
resolver, the easiest way is change your /etc/resolv.conf file to:
|
||||
In order to perform queries over DNSCrypt, the easiest way is change
|
||||
your /etc/resolv.conf file to:
|
||||
|
||||
nameserver 127.0.0.1
|
||||
lookup file bind
|
||||
@ -15,10 +15,12 @@ But DNSCrypt does _not_ cache queries. So the recommended way to use
|
||||
it is as a forwarder for a DNS cache like Unbound.
|
||||
Both can safely run on the same host.
|
||||
|
||||
A list of non-OpenDNS resolvers providing DNSCrypt service is available
|
||||
at ${TRUEPREFIX}/share/dnscrypt-proxy/dnscrypt-resolvers.csv, and can be
|
||||
selected by using an rc.conf.local(8) line like the following:
|
||||
A list of resolvers providing DNSCrypt service is available at
|
||||
${TRUEPREFIX}/share/dnscrypt-proxy/dnscrypt-resolvers.csv.
|
||||
Choose one (there is no default) and configure it, for example:
|
||||
|
||||
dnscrypt_proxy_flags=-R dnscrypt.eu-nl
|
||||
rcctl enable dnscrypt_proxy
|
||||
rcctl set dnscrypt_proxy flags -R dnscrypt.eu-nl
|
||||
rcctl start dnscrypt_proxy
|
||||
|
||||
Also see http://dnscrypt.org/.
|
||||
|
@ -1,12 +1,9 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# $OpenBSD: dnscrypt_proxy.rc,v 1.2 2014/04/25 17:11:26 sthen Exp $
|
||||
# $OpenBSD: dnscrypt_proxy.rc,v 1.3 2016/02/04 14:29:25 sthen Exp $
|
||||
|
||||
daemon="${TRUEPREFIX}/sbin/dnscrypt-proxy -d --user=_dnscrypt-proxy"
|
||||
|
||||
# uses OpenDNS resolvers by default
|
||||
daemon_flags="-R opendns"
|
||||
|
||||
. /etc/rc.d/rc.subr
|
||||
|
||||
rc_reload=NO
|
||||
|
Loading…
x
Reference in New Issue
Block a user