On Sun, Oct 16, 2016 at 9:10 AM,  <subbagudipa...@gmail.com> wrote:
> Getting dail tcp error while calling httpClient.Get or httpClient.Post
> http client settings:
> httpClient = &http.Client{
> Timeout: 30 * time.Second,
> }
> Error:
> dial tcp: lookup on xx.xx.xx.xxx:53: dial udp xx.xx.xx.xxx:53: i/o timeout
> CentOS version: CentOS Linux release 7.2.1511 (Core)
> can you provide the resolution for this?

Looks like your DNS server is not responding to your Go program.  Any
idea why?  Firewall issue?  Misunderstanding of DNS config files?  You
could try setting `GODEBUG=netdns=cgo` in the environment; see


You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to