Re: "djbdns and nxdspecial patch"
Mark Johnson <[email protected]> Tue, 27 Apr 2010 00:18:19 -0500
| Newsgroups | gmane.network.djbdns |
|---|---|
| Message-ID | <[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.