Thursday, November 21, 2024
HomeLinuxHow to Install DNSPerf on Redhat/CentOS and Ubuntu

How to Install DNSPerf on Redhat/CentOS and Ubuntu

DNSPerf and ResPerf are free tools developed by Nominum that make it simple to gather accurate latency and throughput metrics for Domain Name Service (DNS). These tools are easy-to-use and simulate typical Internet so network operators can benchmark their naming and addressing infrastructure and plan for upgrades. The latest version of the DNSPerf and ResPerf can be used with test files that include IPv6 queries.

DNSPerf “self-paces” the DNS query load to simulate network conditions. New features in DNSPerf improve the precision of latency measurements and allow for per packet per-query latency reporting is possible. DNSPerf is now multithreaded, multiple DNSPerf clients can be supported in multicore systems (each client requires two cores). The output of DNSPerf has also been improved so it is more concise and useful. Latency data can be used to make detailed graphs so it is simple for network operators to take advantage of the data.

Read More: What is DNSPerf and How to use it

ResPerf systematically increases the query rate and monitors the response rate to simulate caching DNS services.

How to Install DNSPerf on Ubuntu

Firstly, we will need to install some dependancies:

# apt-get install libbind-dev libkrb5-dev libssl-dev libcap-dev libxml2-dev -y
# apt-get install bind9utils make -y

Now let’s download the source code

# wget ftp://ftp.nominum.com/pub/nominum/dnsperf/2.0.0.0/dnsperf-src-2.0.0.0-1.tar.gz

Uncompress and compile.

# tar xfvz dnsperf-src-2.0.0.0-1.tar.gz
# cd dnsperf-src-2.0.0.0-1
# ./configure
# make
# make install

 CentOS 6.3 64 bit: install dnsperf from source code

# wget ftp://ftp.nominum.com/pub/nominum/dnsperf/2.0.0.0/dnsperf-src-2.0.0.0-1.tar.gz

(You can download directly from http://www.nominum.com/support/measurement-tools/)

# tar xzvf dnsperf-src-2.0.0.0-1.tar.gz
# cd dnsperf-src-2.0.0.0-1

To build dnssperf , We need BIND 9.4 to be installed , including library and header files. Lets do it before proceed,

# yum install -y bind bind-devel bind-libs
# yum install make gcc –y

It’s done, now let’s start build dnsperf

# sh configure

Once build a make file. Run,

# make

# make install

Now dnsperf got installed.

install dnsperf 2.1 on CentOS7.2

Let’s see How to install DNSPerf on CentOS/Redhat 7.2

Here also same, first we have to install Bind service from Binery with Library and dependencies. Download from https://www.isc.org/downloads/

 # tar xzvf bind-9.10.4b2.tar.gz
 # cd bind-9.10.4b2

Build a make using configure

 #  ./configure

Rerun to add all required libraries,

 #  ./configure
 # make
 # make install

install dnsperf

You can download dnsperf at http://nominum.com/measurement-tools

# tar xzvf dnsperf-src-2.1.0.0-1.tar.gz
# cd dnsperf-src-2.1.0.0-1
# sh configure
# make
# make install

To make sure all DNsperf file;

# ls /usr/local/bin/*perf*
/usr/local/bin/dnsperf  /usr/local/bin/resperf  /usr/local/bin/resperf-report
RELATED ARTICLES
- Advertisment -

Most Popular

Recent Comments