bind9/bin/tests/system/srtt
Colin Vidal 9bf3df7073
Add SRTT-based server selection system test
Verify that the resolver selects authoritative servers in increasing
SRTT order.  Four servers are configured with increasing response
delays.  100 queries are sent, expecting most to go to the fastest
server (ns2).  Then ns2 stops responding, another 100 queries are
sent and should go to ns3 (the next fastest), and so on through
ns4 and ns5.  Each query uses a unique name to avoid cache hits.
2026-05-07 13:32:15 +02:00
..
ans2 Add SRTT-based server selection system test 2026-05-07 13:32:15 +02:00
ans3 Add SRTT-based server selection system test 2026-05-07 13:32:15 +02:00
ans4 Add SRTT-based server selection system test 2026-05-07 13:32:15 +02:00
ans5 Add SRTT-based server selection system test 2026-05-07 13:32:15 +02:00
ns1 Add SRTT-based server selection system test 2026-05-07 13:32:15 +02:00
ns6 Add SRTT-based server selection system test 2026-05-07 13:32:15 +02:00
README Add SRTT-based server selection system test 2026-05-07 13:32:15 +02:00
srtt_ans.py Add SRTT-based server selection system test 2026-05-07 13:32:15 +02:00
tests_srtt.py Add SRTT-based server selection system test 2026-05-07 13:32:15 +02:00

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.

ns1 is root

ans{2-5} simulates four NS servers making authority on the same domain
`example.`. ans2 is the quickest to answer, followed by ans3, then ans4, with
ans5 being the slowest.

ns6 is a resolver