> It is problem on your DNS server, or on your system. Wow. I really didn't even think to consider that, since all other network operations normally work, both on that computer and the others. But I just checked a few things and you're right: the test code works immediately on every other computer, but ALWAYS fails the first time on that computer. And by that I mean that if I exit the program (even running under Delphi), and re-run it, it fails again (the first time)--so it's not getting something from system caches. YET if I "nslookup www.mlp.cz" or anything else, it works immediately! ???
> Your system trying to resolve name to IP, but system waiting for > limited time (a few seconds...) for DNS reply. When it not got reply > within timeout, it return error. Failure or success is *immediate*. No timeout waits are involved. Just measured both success and failure: Fails in 70 ms.; succeeds (sending the whole mail) in about 580 ms. > However even DNS reply is received later, then it is cached. So, if you try to resolve name > again, reply is returned from cache quickly. No. The most interesting part of this is that I was purposely NOT querying for the same host, so it wouldn't be cached. I was getting the local IP address! (Second emailing attempts do work as well.) As long as I did that, the next attempt to send the mail (and it's GetHostByName call) would SUCCEED! (You see why I'm confused? <g> and thought it might be an initialization problem?) > you very probably have problem with other programs too. Nope. None. And this system gets very heavy network use. > Try to run in CMD: > nslookup www.mlp.cz > Does it timeout? If yes, try to run it again. Working? Then you have this problem. As I said above, it always SUCCEEDS, and does it very fast. If this is such an isolated (unheard of) problem, it's probably not worth any more effort. But I'll probably look at it again a little bit later. It's just so weird! ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ synalist-public mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/synalist-public
