From 5c48c142e3ebf06718016d031815972d43c88018 Mon Sep 17 00:00:00 2001 From: Bob Halley Date: Tue, 31 Aug 1999 22:24:36 +0000 Subject: [PATCH] Doing a SIG query to a nonsecure zone was returning SERVFAIL instead of no error, no data. --- bin/named/query.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bin/named/query.c b/bin/named/query.c index 5555ab4f35..6172e26d01 100644 --- a/bin/named/query.c +++ b/bin/named/query.c @@ -1156,6 +1156,8 @@ query_find(ns_client_t *client) { * Add SOA. */ result = query_addsoa(client, db); + if (result == ISC_R_SUCCESS) + result = DNS_R_NOMORE; } else { /* * Something went wrong.