How to implement a custom DNS for OkHttp3

前端 未结 0 804
悲&欢浪女
悲&欢浪女 2020-12-23 14:45

I would like to create a custom DNS to utilise CloudFlare 1.1.1.1 and 1.0.0.1 for all my RetroFit connections. This should replace the SYSTEM DNS.

So I did this:

相关标签:
回答
  • 消灭零回复
提交回复
热议问题