MTDNS should not use Google DOH directly
Checklist
- [x] I am reporting an issue in existing functionality that does not work as intended
- [x] I've searched for existing GitHub issues
Description
Why use Google DOH Server first and use DNS after timeout? If user can't use Google DOH normally, user have to wait for a timeout every time. I think DNS can be used directly, or the user can set not to use DOH
Some users have reported bugs before, but they haven't solved them. https://github.com/TelegramMessenger/Telegram-iOS/issues/221
https://github.com/TelegramMessenger/Telegram-iOS/blob/aa1b009cea6b9163dd025b36506704292ac0e814/submodules/MtProtoKit/Sources/MTTcpConnection.m#L819
https://github.com/TelegramMessenger/Telegram-iOS/blob/aa1b009cea6b9163dd025b36506704292ac0e814/submodules/MtProtoKit/Sources/MTDNS.m#L337
https://github.com/TelegramMessenger/Telegram-iOS/issues/682
It seems to be the same thing to me.
In some areas, dns over https cannot be connected, and this is hard-coded and users cannot customize it.
Looking forward to fix :(
It is really a serious problem in China mainland. Please fix it :(
What is the solution to this problem now? Is vpn only open 24 hours a day?
TG 内置代理(socks5/tgp)直接填 ip 不要用域名就行了。
Use ip directly in Telegram built-in proxy settings l. 在 2022年8月23日+0800 17:43,əuıʌəl @.***>,写道:
请问这个问题现在有什么办法解决?只能24小时开着vpn了吗? — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>
TG 内置代理(socks5/tgp)直接填 ip 不要用域名就行了。 Use ip directly in Telegram built-in proxy settings l. 在 2022年8月23日+0800 17:43,əuıʌəl @.>,写道: … 请问这个问题现在有什么办法解决?只能24小时开着vpn了吗? — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.>
问题是家里的路由器拨号的,ip过两天就变化。。这种好像就不行了吧。。
Implemented in my fork Swiftgram. Feel free to download from App Store or build from sources.
![]()
Did the telegram iOS offical merged this feature? Otherwise I need to use this forked one