Re: merge-similar-outgoing-queries.patch and lame servers
Gerrit Pape <[email protected]>
| Newsgroups | gmane.network.djbdns |
|---|---|
| Message-ID | <20090304084438.15515.qmail@4ba37c3b4d92eb.315fe32.mid.smarden.org> |
On Tue, Mar 03, 2009 at 12:53:29PM -0500, Jeff King wrote: > On Tue, Mar 03, 2009 at 02:01:53PM +0000, Gerrit Pape wrote: > > Hi, it looks like the patch doesn't handle responses from lame servers > > properly. If such a single request gets a response from a lame server, > > it can happen that no further requests are sent. To reproduce, look for > > a domain with a lame server, and do > > Thanks for the bug report. > > I believe what is happening is that dnscache is hanging in the iopause > call due to a bug in the qmerge patch. A patch (on top of qmerge) is > below. Let me know if it solves your problem. The clients get the answer with this patch, but I don't feel that confident. Two client queries 'dnsqr soa domain.with.lame.server & dnsqr soa domain.with.lame.server &' result in about 100 txpb and about 100 lame log entries within 1.6 seconds before the aswer is sent back to the clients. Regards, Gerrit.