title: How to make dns lookup faster with okhttp?
body: <p>I have used new <code>OkHttp</code> <code>EventListener</code> to debug why my request takes so long time. And there were these results:</p>
  
  <pre><code>0,000 callStart
  0,027 dnsStart
  5,189 dnsEnd
  5,359 secureConnectStart
  5,907 secureConnectEnd
  5,910 connectEnd
  5,921 connectionAcquired
  5,925 requestHeadersStart
  5,930 requestHeadersEnd
  5,938 responseHeadersStart
  6,181 responseHeadersEnd
  6,189 responseBodyEnd
  6,233 connectionReleased
  </code></pre>
  
  <p>As you can see, the time from <code>dnsStart</code> and <code>dnsEnd</code> takes about 5 seconds. How can I decrease this value? Are there any ways to warm up dns lookup or cache or something else?</p>