title: why am i getting dns error from an application but not from my browser
body: <p>I am accessing a certain server in my organization's internal network from my browser fine. But when i try  to make the same call from a Go code in Atom. it throws the below error.</p>
  <pre><code>url := &quot;http://server:port/getcall&quot;
  
  req, _ := http.NewRequest(&quot;GET&quot;, url, nil)
  
  res, _ := http.DefaultClient.Do(req)
  </code></pre>
  <pre><code>&lt;body&gt;&lt;h1&gt;DNS error&lt;/h1&gt;
  &lt;p&gt;DNS error (the host name of the page you are looking for does not exist)&lt;br&gt;&lt;br&gt;
  Please check that the host name has been spelled correctly.&lt;br&gt;&lt;/p&gt;    
  </code></pre>
  <p>what could it be ? i tried setting and removing proxies which isnt working.</p>