Commit 9499bac28a for bind
commit 9499bac28a2d22d8649f74949f06f0eca0f73ba1
Author: Nicki Křížek <nicki@isc.org>
Date: Wed Nov 11 10:13:53 2026 +0000
Keep the system test port range clear of mDNS and LLMNR
Depending on the hour and on the number of test modules, the rotating
base port can put 5353 into some module's port block. Where an mDNS
responder holds that port on the wildcard address (macOS by default),
that module fails with "test port range is in use".
Assisted-by: Claude:claude-opus-5-5
diff --git a/bin/tests/system/isctest/vars/ports.py b/bin/tests/system/isctest/vars/ports.py
index a30a8b59d1..0655ecf817 100644
--- a/bin/tests/system/isctest/vars/ports.py
+++ b/bin/tests/system/isctest/vars/ports.py
@@ -13,7 +13,10 @@ import os
from .. import log
-PORT_MIN = 5001
+# Stay above 5353 (mDNS) and 5355 (LLMNR): the OS name-resolution
+# responders (mDNSResponder, Avahi, systemd-resolved) hold them on the
+# wildcard address, so binding them on the test interfaces fails.
+PORT_MIN = 5400
PORT_MAX = 32767
PORTS_PER_TEST = 20