unbound/testdata/speed_cache.tdir/makeqs.c
wouter 3343bcb04f Fixup speed_cache for 01-doc test.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@4265 be551aaa-1e26-0410-a405-d3ace91eadb9
2017-07-06 13:30:37 +00:00

15 lines
355 B
C

/**
* \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;
}