mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-19 08:28:53 -04:00
Replace the custom DNS servers used in the "chain" system test with new code based on the isctest.asyncserver module. For ans3, replace the sequence of logical conditions present in Perl code with zone files and a limited amount of custom logic applied on top of them where necessary. For ans4, replace the ctl_channel() and create_response() functions with a custom control command handler coupled with a dynamically instantiated response handler, making the code more robust and readable. Migrate sendcmd() and its uses to the new way of sending control queries to custom servers used in system tests.
24 lines
885 B
Text
24 lines
885 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.
|
|
|
|
@ 60 SOA . . 0 0 0 0 0
|
|
|
|
@ 60 NS ns3
|
|
ns3 60 A 10.53.0.3
|
|
|
|
; isctest.asyncserver does no special handling of DNAME records (e.g. by
|
|
; occluding names below them or synthesizing CNAMEs), so the following
|
|
; DNAME record is only appended to responses by a custom response
|
|
; handler that attempts to trigger the resolver variant of
|
|
; CVE-2021-25215 in `named` (see Cve202125215Handler.get_responses()
|
|
; in ans3/ans.py) or when it is queried for explicitly.
|
|
|
|
self 60 DNAME dname.
|