Skip to content

Commit

Permalink
Improved DOT sample with domain name
Browse files Browse the repository at this point in the history
  • Loading branch information
IngoZenz committed Dec 15, 2019
1 parent d5b53c0 commit 4bb8586
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/src/main/assets/dnsfilter.conf
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ detectDNS = true
# Format: <IP>::<PORT>::<PROTOCOL>::<URL END POINT>
# Cloudflare examples below:
# 1.1.1.1::53::UDP (Default DNS on UDP port 53 / just 1.1.1.1 will work as well)
# 1.1.1.1::853::DoT (DNS over TLS)
# 1.1.1.1::853::DoT::cloudflare-dns.com (DNS over TLS)
# 1.1.1.1::443::DoH::https://cloudflare-dns.com/dns-query
# The Google DNS Servers as default below:
fallbackDNS = 8.8.8.8; 8.8.4.4
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/java/dnsfilter/android/DNSProxyActivity.java
Original file line number Diff line number Diff line change
Expand Up @@ -767,7 +767,7 @@ public void run() {
"# IPV6 Addresses with '::' must be in brackets '[IPV6]'!\n" +
"# Cloudflare examples below:\n" +
"# 1.1.1.1::53::UDP (Default DNS on UDP port 53 / just 1.1.1.1 will work as well)\n" +
"# 1.1.1.1::853::DOT (DNS over TLS)\n" +
"# 1.1.1.1::853::DOT::cloudflare-dns.com (DNS over TLS)\n" +
"# 1.1.1.1::443::DOH::https://cloudflare-dns.com/dns-query (DNS over HTTPS)\n\n";
manualDNSView.setText(manualDNS_Help+config.getProperty("fallbackDNS").replace(";", "\n").replace(" ", ""));

Expand Down

0 comments on commit 4bb8586

Please sign in to comment.