mirror of
https://github.com/dnscrypt/dnscrypt-server-docker
synced 2024-11-26 10:23:48 +01:00
Update encrypted-dns-server
This commit is contained in:
parent
64a841d5ef
commit
c55108d7da
@ -37,7 +37,7 @@ ENV RUSTFLAGS "-C link-arg=-s"
|
|||||||
RUN apt-get update && apt-get install -qy --no-install-recommends $BUILD_DEPS && \
|
RUN apt-get update && apt-get install -qy --no-install-recommends $BUILD_DEPS && \
|
||||||
curl -sSf https://sh.rustup.rs | bash -s -- -y --default-toolchain stable && \
|
curl -sSf https://sh.rustup.rs | bash -s -- -y --default-toolchain stable && \
|
||||||
export PATH="$HOME/.cargo/bin:$PATH" && \
|
export PATH="$HOME/.cargo/bin:$PATH" && \
|
||||||
echo "Compiling encrypted-dns version 0.3.14" && \
|
echo "Compiling encrypted-dns version 0.3.17" && \
|
||||||
cargo install encrypted-dns && \
|
cargo install encrypted-dns && \
|
||||||
mkdir -p /opt/encrypted-dns/sbin && \
|
mkdir -p /opt/encrypted-dns/sbin && \
|
||||||
mv ~/.cargo/bin/encrypted-dns /opt/encrypted-dns/sbin/ && \
|
mv ~/.cargo/bin/encrypted-dns /opt/encrypted-dns/sbin/ && \
|
||||||
|
@ -114,6 +114,11 @@ group = "_encrypted-dns"
|
|||||||
# chroot = "/var/empty"
|
# chroot = "/var/empty"
|
||||||
|
|
||||||
|
|
||||||
|
## Queries sent to that name will return the client IP address.
|
||||||
|
## This can be very useful for debugging, or to check that relaying works.
|
||||||
|
|
||||||
|
my_ip = "my.ip"
|
||||||
|
|
||||||
|
|
||||||
####################################
|
####################################
|
||||||
# DNSCrypt settings #
|
# DNSCrypt settings #
|
||||||
@ -223,3 +228,23 @@ allow_non_reserved_ports = false
|
|||||||
# Blacklisted upstream IP addresses
|
# Blacklisted upstream IP addresses
|
||||||
|
|
||||||
blacklisted_ips = [ @ANONDNS_BLACKLISTED_IPS@ ]
|
blacklisted_ips = [ @ANONDNS_BLACKLISTED_IPS@ ]
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
################################
|
||||||
|
# Access control #
|
||||||
|
################################
|
||||||
|
|
||||||
|
[access_control]
|
||||||
|
|
||||||
|
# Enable access control
|
||||||
|
|
||||||
|
enabled = false
|
||||||
|
|
||||||
|
# Only allow access to client queries including one of these random tokens
|
||||||
|
# Tokens can be configured in the `query_meta` section of `dnscrypt-proxy` as
|
||||||
|
# `query_meta = ["token:..."]` -- Replace ... with the token to use by the client.
|
||||||
|
# Example: `query_meta = ["token:Y2oHkDJNHz"]`
|
||||||
|
|
||||||
|
tokens = ["Y2oHkDJNHz", "G5zY3J5cHQtY", "C5zZWN1cmUuZG5z"]
|
||||||
|
Loading…
Reference in New Issue
Block a user