Skip to content

Commit

Permalink
DNS container with EmerCoin DNS support
Browse files Browse the repository at this point in the history
  • Loading branch information
pokamest committed Jan 3, 2022
1 parent 9943e08 commit 9ec3965
Show file tree
Hide file tree
Showing 3 changed files with 48 additions and 3 deletions.
2 changes: 1 addition & 1 deletion client/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ android {
minSdkVersion = 24
targetSdkVersion = 30
versionCode 6 // Change to a higher number
versionName "2.0.6" // Change to a higher number
versionName "2.0.7" // Change to a higher number
}

buildTypes {
Expand Down
4 changes: 2 additions & 2 deletions client/defines.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#define APPLICATION_NAME "AmneziaVPN"
#define SERVICE_NAME "AmneziaVPN-service"
#define ORGANIZATION_NAME "AmneziaVPN.ORG"
#define APP_MAJOR_VERSION "2.0.6"
#define APP_VERSION "2.0.6.0"
#define APP_MAJOR_VERSION "2.0.7"
#define APP_VERSION "2.0.7.0"

#endif // DEFINES_H
45 changes: 45 additions & 0 deletions client/server_scripts/dns/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,48 @@
FROM mvance/unbound:latest

LABEL maintainer="AmneziaVPN"

RUN echo " \n\
domain-insecure: \"coin.\"\n\
domain-insecure: \"emc.\"\n\
domain-insecure: \"lib.\"\n\
domain-insecure: \"bazar.\"\n\
domain-insecure: \"enum.\"\n\
\n\
stub-zone:\n\
name: coin.\n\
stub-host: seed1.emercoin.com\n\
stub-host: seed2.emercoin.com\n\
stub-first: yes\n\
\n\
stub-zone:\n\
name: emc.\n\
stub-host: seed1.emercoin.com\n\
stub-host: seed2.emercoin.com\n\
stub-first: yes\n\
\n\
stub-zone:\n\
name: lib.\n\
stub-host: seed1.emercoin.com\n\
stub-host: seed2.emercoin.com\n\
stub-first: yes\n\
\n\
stub-zone:\n\
name: bazar.\n\
stub-host: seed1.emercoin.com\n\
stub-host: seed2.emercoin.com\n\
stub-first: yes\n\
\n\
stub-zone:\n\
name: enum.\n\
stub-host: seed1.emercoin.com\n\
stub-host: seed2.emercoin.com\n\
stub-first: yes\n\
\n\
forward-zone:\n\
name: .\n\
forward-tls-upstream: yes\n\
forward-addr: 1.1.1.1@853 #cloudflare-dns.com\n\
forward-addr: 1.0.0.1@853 #cloudflare-dns.com\n\
" | tee /opt/unbound/etc/unbound/forward-records.conf

0 comments on commit 9ec3965

Please sign in to comment.