]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Update out of date comment
authorMark Andrews <marka@isc.org>
Mon, 12 Jul 2021 02:29:55 +0000 (12:29 +1000)
committerMark Andrews <marka@isc.org>
Mon, 12 Jul 2021 02:33:46 +0000 (12:33 +1000)
lib/dns/resolver.c

index ebc7fbc2cfcd9d1bf948ad3227c4f4189f60d43d..f8b9c4d9a9730a7c40f2a2e007559a6385de8d29 100644 (file)
@@ -10010,14 +10010,6 @@ rctx_badserver(respctx_t *rctx, isc_result_t result) {
        {
                /*
                 * It's very likely they don't like EDNS0.
-                * If the response code is SERVFAIL, also check if the
-                * response contains an OPT RR and don't cache the
-                * failure since it can be returned for various other
-                * reasons.
-                *
-                * XXXRTH  We should check if the question
-                *              we're asking requires EDNS0, and
-                *              if so, we should bail out.
                 */
                rctx->retryopts |= DNS_FETCHOPT_NOEDNS0;
                rctx->resend = true;