Page 2 of 2

Re: TCP burst to hostname

Posted: Wed Sep 04, 2013 1:24 am
by MrSteel
Hi,

Now DNS works! I need to call for IP twice. First time always fail but second time I get IP. I don't know whay!

Best regards,

Re: TCP burst to hostname

Posted: Wed Sep 04, 2013 8:43 am
by dciliske
As in, you have to call GetHostByName twice? If that's the case, then the DNS server seems to be taking too long to reply, and upping the timeout would also 'fix' the issue. I'd much moreso lean towards your DNS server being misconfigured as a fully resolving nameserver and by the time of the second call, it's resolved the DNS entry and cached it. You have a DNS server problem.

-Dan