summaryrefslogtreecommitdiff
path: root/external/bsd/unbound/dist/testdata/speed_cache.tdir/makeqs.c
blob: 8e6179f66b2104b5c30593187cf75aaac5ce9aa2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/**
 * \file
 * This file creates queries for the speed test
 */
#include <stdio.h>
#include <stdlib.h>
/** main program to create queries, pass the number of them. */
int main(int argc, char** argv) {
        int i;
        int max = atoi(argv[1]);
        for(i=0; i<max; i++)
                printf("a%8.8d.example.com IN A\n", i);
        return 0;
}