mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-21 08:18:52 -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.
29 lines
983 B
Text
29 lines
983 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
|
|
|
|
cname-to-synth2-then-dname 60 CNAME name.synth2-then-dname
|
|
|
|
name.synth-then-dname 60 CNAME name.
|
|
name.synth2-then-dname 60 CNAME name.
|
|
|
|
; isctest.asyncserver does no special handling of DNAME records (e.g. by
|
|
; occluding names below them or synthesizing CNAMEs), so the following
|
|
; DNAME records are only returned for certain trigger QNAMEs (see
|
|
; CnameThenDnameHandler.get_responses() in ans3/ans.py) or if they are
|
|
; queried for explicitly.
|
|
|
|
synth-then-dname 60 DNAME .
|
|
synth2-then-dname 60 DNAME .
|