Skip to content

Commit

Permalink
[MG] disable USE_DELEGATE_HOST_RESOLVE (#8)
Browse files Browse the repository at this point in the history
USE_DELEGATE_HOST_RESOLVE enables resolving proxy hosts by using Google
DNS (HTTPS) servers.

Since this leaks privacy and it's absolutely not needed (Android 9+
supports DNS-over-TLS that should be used instead), just disable it.
  • Loading branch information
Timothy Redaelli committed Apr 22, 2024
1 parent 2262903 commit d2140f6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ This includes the following additional features:
- Add toggle setting in Debug Menu to enable Message Details menu
- Add toggle setting in Debug Menu to disable Unified Push support
- Add toggle setting in Debug Menu to disable Secure Flags. This option must **only** be used for debugging.
- Disabled DOH resolving since this leaks your used proxy to Google and it's not needed since Android DNS over TLS should be used instead.
- Unlock premium app icons for anybody
- Large photos are sent (2560px instead of 1280px)
- Telegram application icons are replaced with [hermes wing (Created by Anthony Ledoux from Noun Project)](https://thenounproject.com/icon/hermes-wing-3559879/)
Expand Down
2 changes: 1 addition & 1 deletion TMessagesProj/jni/tgnet/Defines.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
#define UPLOAD_CONNECTIONS_COUNT 4
#define CONNECTION_BACKGROUND_KEEP_TIME 10000
#define MAX_ACCOUNT_COUNT 5
#define USE_DELEGATE_HOST_RESOLVE
//#define USE_DELEGATE_HOST_RESOLVE

#define USE_IPV4_ONLY 0
#define USE_IPV6_ONLY 1
Expand Down

0 comments on commit d2140f6

Please sign in to comment.