Re: "djbdns and nxdspecial patch"
Marco Spiga <[email protected]> Tue, 27 Apr 2010 20:14:19 +0200
| Newsgroups | gmane.network.djbdns |
|---|---|
| Message-ID | <[email protected]> |
On Tue, Apr 27, 2010 at 12:18:19AM -0500, Mark Johnson wrote: > Date: Tue, 27 Apr 2010 00:18:19 -0500 > From: Mark Johnson <[email protected]> > Subject: Re: "djbdns and nxdspecial patch" > To: djbdns list <[email protected]> > > On Mon, Apr 26, 2010 at 9:26 PM, Mark Johnson <[email protected]> wrote: > > > I think these are the bits you want relative to stock djbdns-1.05: > > Checking with another source including that patch: > > http://nux.se/sw/patches/djbdns-1.05-sbx.patch.txt > http://nux.se/sw/patches/djbdns-1.05-sbx.patch > > ...looks like I missed something: > > --- djbdns-1.05.orig/query.c 2010-04-26 21:01:31.000000000 -0500 > +++ djbdns-1.05.nxdspecial/query.c 2010-04-27 00:09:17.000000000 -0500 > ... > ... > ... > @@ -246,6 +255,7 @@ > case_lowerb(key + 2,dlen); > cached = cache_get(key,dlen + 2,&cachedlen,&ttl); > if (cached) { > + soattl = rcode = 0; > log_cachednxdomain(d); > goto NXDOMAIN; > } > ... > ... > ... > > FYI, that takes effect even when NXDSPECIAL is not set. I have observed that these patches apply correctly to djbdns but not zinq-djbdns..... :-( ---fine del testo--- -- Messaggio da Marco -------------------------------------------------------------------- Meglio coltivare GNU/Linux...... tanto Windows si pianta da solo!!!!