TCP burst to hostname

Discussion to talk about software related topics only.
MrSteel
Posts: 8
Joined: Thu Jun 27, 2013 11:00 am

Re: TCP burst to hostname

Post 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,
User avatar
dciliske
Posts: 624
Joined: Mon Feb 06, 2012 9:37 am
Location: San Diego, CA
Contact:

Re: TCP burst to hostname

Post 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
Dan Ciliske
Project Engineer
Netburner, Inc
Post Reply