mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-22 18:18:54 -04:00
Add randomizens system test which ensures that NS are randomly selected. The test relies of the fact that `getaddresses_allowed()` logic won't allow to query more than 3 NS at the top-level. The `example.` zone has 4 NS and the 3 formers are lame. As a result, if the resolved doesn't randomize the NS selection, it will only quiery the 3 formers, which won't give an answer, and fails. With randomization enabled, there is a chance that the resolver queries the fourth NS, and gets the result. |
||
|---|---|---|
| .. | ||
| 1st.db | ||
| 2nd.db | ||
| example.db | ||
| named.conf.j2 | ||
| xxx.db | ||