This document is about PowerDNS 4.0. For other versions, please see the documentation index.

NAME

calidns - A DNS recursor testing tool

SYNOPSIS

calidns [OPTIONS] QUERY_FILE DESTINATION INITIAL_QPS HITRATE

DESCRIPTION

calidns reads queries from QUERY_FILE and sends them as a recursive query to DESTINATION (an IPv4 or IPv6 address, optionally with a port number), starting at INITIAL_QPS queries per second and aims to have a cache hitrate of HITRATE percent.

It will then try to determine the maximum amount of queries per second the recursor can handle with the aforementioned HITRATE.

QUERY_FILE format

The format of the QUERY_FILE is very simple, it should contain "QNAMEQTYPE" tuples, one per line. For example:

powerdns.com A powerdns.com AAAA google.com A

This is similar to Alexa top 1 million list.

OPTIONS

--increment NUM : On every subsequent run, multiply the number of queries per second by NUM. By default, this is 1.1.

--want-recursion : Set this flag to send queries with the Recursion Desired flag set.