]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Add comment why statistics/ns3 has misconfigure root.hints
authorOndřej Surý <ondrej@isc.org>
Tue, 13 Dec 2022 14:23:54 +0000 (15:23 +0100)
committerOndřej Surý <ondrej@isc.org>
Wed, 14 Dec 2022 17:49:18 +0000 (18:49 +0100)
To count pending queries in the statistics, we need the ns3 to be
misconfigured.  Document the fact in the statistics/ns3/root.hints.

bin/tests/system/statistics/ns3/root.hint

index dbc4a42e7c1ece3e179cf28a87313b149f2cafac..0f5c70127b4c7d50725edc6d93b32daf800cdcba 100644 (file)
@@ -9,6 +9,13 @@
 ; See the COPYRIGHT file distributed with this work for additional
 ; information regarding copyright ownership.
 
+;
+; The configured root server is intentionally bad here,
+; so we can count queries "on fly", priming and the other
+; counters that would be immediately resolved if the root
+; nameservers would work.
+;
+
 $TTL 999999
 .                       IN NS  d.root-servers.nil.
 d.root-servers.nil.     IN A   10.53.0.4