Add ans10 blackhole server to xfer system test

On FreeBSD 15.0, sending requests to non-existent address produces
unexpected results. Add a blackhole server instead.

(cherry picked from commit b4c0408d81)
This commit is contained in:
Michal Nowak 2025-12-12 14:51:32 +01:00
parent 0a55f28bc8
commit d77b8be2b1
No known key found for this signature in database
2 changed files with 26 additions and 1 deletions

View file

@ -0,0 +1,25 @@
# 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.
from isctest.asyncserver import (
AsyncDnsServer,
IgnoreAllQueries,
)
def main() -> None:
server = AsyncDnsServer()
server.install_response_handler(IgnoreAllQueries())
server.run()
if __name__ == "__main__":
main()

View file

@ -87,7 +87,7 @@ zone "axfr-rndc-retransfer-force" {
zone "xot-primary-try-next" {
type secondary;
primaries { 10.53.0.99 port @EXTRAPORT1@ tls ephemeral; 10.53.0.1; };
primaries { 10.53.0.10 port @EXTRAPORT1@ tls ephemeral; 10.53.0.1; };
file "xot-primary-try-next.bk";
};