Home | History | Annotate | Line # | Download | only in randomizens
      1 Copyright (C) Internet Systems Consortium, Inc. ("ISC")
      2 
      3 SPDX-License-Identifier: MPL-2.0
      4 
      5 This Source Code Form is subject to the terms of the Mozilla Public
      6 License, v. 2.0.  If a copy of the MPL was not distributed with this
      7 file, you can obtain one at https://mozilla.org/MPL/2.0/.
      8 
      9 See the COPYRIGHT file distributed with this work for additional
     10 information regarding copyright ownership.
     11 
     12 ns1 is root
     13 ns{2-4} are auth server on example. but lame
     14 ns5 is an auth server on example. and works
     15 ns6 is a resolver
     16 
     17 Because `getaddresses_allowed()` logic won't allow to query more than 3 NS at
     18 the top-level, only ns{2-4} will be tried without randomization, and example.
     19 couldn't be resolved. However, with randomization, some queries won't start
     20 picking example. NS from ns2, but ns3, ns4 or ns5. This enable to resolver
     21 example.
     22