Commit baee883e authored by Mark Andrews's avatar Mark Andrews
Browse files

1511. [bug] delegation-only was generating false positives

                        on negative answers from subzones.
parent 7999602b
1511. [bug] delegation-only was generating false positives
on negative answers from subzones.
1510. [func] New view option "root-delegation-only". Apply
delegation-only check to all TLDs and root.
Note there are some TLDs that are NOT delegation
......
......@@ -15,7 +15,7 @@
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: resolver.c,v 1.267 2003/09/21 02:52:35 marka Exp $ */
/* $Id: resolver.c,v 1.268 2003/09/21 13:05:16 marka Exp $ */
#include <config.h>
......@@ -380,7 +380,8 @@ fix_mustbedelegationornxdomain(dns_message_t *message, fetchctx_t *fctx) {
if (type == dns_rdatatype_soa &&
dns_name_equal(name, domain))
keep_auth = ISC_TRUE;
if (type != dns_rdatatype_ns)
if (type != dns_rdatatype_ns &&
type != dns_rdatatype_soa)
continue;
if (dns_name_equal(name, domain))
goto munge;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment