Hi, Gilles Detillieux schrieb: > > According to Dirk Kutsche: > > Gilles Detillieux schrieb: > > > The ignore_dead_servers attribute is a hack, and it won't prevent some > > > URLs from being lost. > > > > > > http://www.geocrawler.com/archives/3/8822/2002/8/0/9252471 > > > http://www.geocrawler.com/archives/3/8822/2002/5/0/8741489/ > > > > I found it. > > We changed something in the dns-config and had a wrong entry in the > > resolv.conf - so every request needed one timeout to get to the second > > dns-server. That is too much for htdig. Interesting thing. > > That strikes me as incorrect behaviour from the gethostbyname() function > on your system. If I'm not mistaken, it should try all DNS servers listed > in resolv.conf until it finds one that works, and only return a failure if > all DNS servers fail. The onus shouldn't be on the application program to > repeatedly call gethostbyname() until it's gone through all DNS servers, > should it?
It should - but this mistake needs around 20 Seconds for timeout (we stoppt the named completly): *** Can't find server name for address 127.0.0.1: No response from server Server: Address: Non-authoritative answer: Name: htdig.org Address: 216.136.171.204 This is the right way (without loopback) - and it works in the same second: # nslookup htdig.org Server: Address: Name: htdig.org Address: 216.136.171.204 > What system are you running? SuSE Linux 2.4.0-4GB #1 Mon Jan 22 16:42:16 GMT 2001 i686 I found, that I run an older version of htdig. I will upgrade to 3.1.6 first, before I ask any more questions. It's our fault - nothing wrong with htdig. ;-) Thanks a lot. -- Regards, Dirk Kutsche -- ------------------------------------------------------- This SF.NET email is sponsored by: AMD - Your access to the experts on Hammer Technology! Open Source & Linux Developers, register now for the AMD Developer Symposium. Code: EX8664 http://www.developwithamd.com/developerlab _______________________________________________ htdig-general mailing list <[EMAIL PROTECTED]> To unsubscribe, send a message to <[EMAIL PROTECTED]> with a subject of unsubscribe FAQ: http://htdig.sourceforge.net/FAQ.html

