• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..07-Mar-2022-

READMEH A D07-Mar-2022944 3111

clean.shH A D07-Mar-2022454 162

makenames.plH A D07-Mar-2022857 3114

mkzonefile.plH A D07-Mar-20221.2 KiB4829

setup.shH A D07-Mar-20221.8 KiB8358

smallzone.dbH A D07-Mar-2022755 2926

README

1<!--
2Copyright (C) Internet Systems Consortium, Inc. ("ISC")
3
4SPDX-License-Identifier: MPL-2.0
5
6This Source Code Form is subject to the terms of the Mozilla Public
7License, v. 2.0.  If a copy of the MPL was not distributed with this
8file, you can obtain one at https://mozilla.org/MPL/2.0/.
9
10See the COPYRIGHT file distributed with this work for additional
11information regarding copyright ownership.
12-->
13
14These scripts generate a named.conf file with an arbitrary number of
15small zones, for testing startup performance.
16
17To generate a test server with 1000 zones each of which contains 5 A
18records, run:
19
20   $ sh setup.sh 1000 5 > named.conf
21
22Zones are generated with random names, and the zone files are created
23in the subdirectory "zones".
24
25Or, to generate a test server with 100 zones which all load from the same
26generic file (smallzone.db):
27
28   $ sh setup.sh -s 100 > named.conf
29
30The "number of records" argument is ignored if -s is used.
31