Categories
Ubuntu

Compile resperf for Ubuntu

Resperf and dnsperf are very hany, if you try to benchmark or even test your DNS server. While dnsperf is made for authorative nameservers, resperf is ready to test your resolver (the one with recursion).

However, nominum does not provide an Ubuntu binary. Due to some bugs and missing packages, compilation is not only configure/make/make-install.

Needed packages are (just apt-get install ’em):

  • libkrb5-dev
    libbind-dev
    build-essential
    libssl-dev
    libcap-dev
    libxml2-dev
  • gnuplot

If you encounter the problem, that isc does not find the file ‘stat.h’, issue

cp /usr/include/linux/stat.h /usr/include/isc/