mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-22 10:38:53 -04:00
Introduce a new system test (nsprocessinglimit) to verify that the resolver strictly respects outgoing network fetch quotas when presented with heavily delegated, unresponsive zones. This test acts as a regression check for the recent Fisher-Yates nameserver selection refactor. It sets up an authoritative server delegating a zone to 23 distinct nameservers (all pointing to unresponsive loopback IPs). Using dnstap, the test forces a resolution failure and verifies that: 1. The resolver successfully traverses the zone delegation path. 2. The resolver caps the outgoing network queries to the delegated nameservers exactly at the processing limit (20 fetches), ensuring array boundaries and dynamic fetch quotas are strictly enforced without crashing or hanging.
24 lines
699 B
Text
24 lines
699 B
Text
; Copyright (C) Internet Systems Consortium, Inc. ("ISC")
|
|
;
|
|
; SPDX-License-Identifier: MPL-2.0
|
|
;
|
|
; This Source Code Form is subject to the terms of the Mozilla Public
|
|
; License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
; file, you can obtain one at https://mozilla.org/MPL/2.0/.
|
|
;
|
|
; See the COPYRIGHT file distributed with this work for additional
|
|
; information regarding copyright ownership.
|
|
|
|
$TTL 300
|
|
. IN SOA marka.isc.org. a.root.servers.nil. (
|
|
2010 ; serial
|
|
600 ; refresh
|
|
600 ; retry
|
|
1200 ; expire
|
|
600 ; minimum
|
|
)
|
|
. NS a.root-servers.nil.
|
|
a.root-servers.nil. A 10.53.0.1
|
|
|
|
tld. NS ns.tld.
|
|
ns.tld. A 10.53.0.2
|