Skip to content

Commit

Permalink
Update to v2.3.6
Browse files Browse the repository at this point in the history
  • Loading branch information
Showfom committed Jul 5, 2024
1 parent 288d7f8 commit 98f21ce
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions Dockerfile.alpine
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ WORKDIR /src

# Lets download latest version of DOH
RUN set -x ;\
DOH_VERSION_LATEST=v2.3.5 \
DOH_VERSION_LATEST=v2.3.6 \
&& curl -L "https://github.com/m13253/dns-over-https/archive/${DOH_VERSION_LATEST}.zip" -o doh.zip \
&& unzip doh.zip \
&& rm doh.zip \
Expand Down Expand Up @@ -38,9 +38,9 @@ RUN chown -R nobody:nogroup /server
USER nobody

# Set environment defaults
# We are using OpenDNS DNS server address as default
# Here is the list of addresses: https://use.opendns.com/
ENV UPSTREAM_DNS_SERVER="udp:208.67.222.222:53"
# We are using Cloudflare DNS server address as default
# Here is the list of addresses: https://one.one.one.one/dns/
ENV UPSTREAM_DNS_SERVER="udp:1.1.1.1:53"
ENV DOH_HTTP_PREFIX="/getnsrecord"
ENV DOH_SERVER_LISTEN=":8053"
ENV DOH_SERVER_TIMEOUT="10"
Expand Down
8 changes: 4 additions & 4 deletions Dockerfile.ubuntu
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ WORKDIR /src

# Lets download latest version of DOH
RUN set -x ;\
DOH_VERSION_LATEST=v2.3.5 \
DOH_VERSION_LATEST=v2.3.6 \
&& curl -L "https://github.com/m13253/dns-over-https/archive/${DOH_VERSION_LATEST}.zip" -o doh.zip \
&& unzip doh.zip \
&& rm doh.zip \
Expand Down Expand Up @@ -53,9 +53,9 @@ RUN chown -R nobody:nogroup /server
USER nobody

# Set environment defaults
# We are using OpenDNS DNS server address as default
# Here is the list of addresses: https://use.opendns.com/
ENV UPSTREAM_DNS_SERVER="udp:208.67.222.222:53"
# We are using Cloudflare DNS server address as default
# Here is the list of addresses: https://one.one.one.one/dns/
ENV UPSTREAM_DNS_SERVER="udp:1.1.1.1:53"
ENV DOH_HTTP_PREFIX="/getnsrecord"
ENV DOH_SERVER_LISTEN=":8053"
ENV DOH_SERVER_TIMEOUT="10"
Expand Down

0 comments on commit 98f21ce

Please sign in to comment.