• Stars
    star
    400
  • Rank 107,843 (Top 3 %)
  • Language
    C
  • License
    Apache License 2.0
  • Created over 8 years ago
  • Updated 3 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

DNS Performance Testing Tools

dnsperf

Total alerts Bugs Security Rating

dnsperf and resperf are free tools developed by Nominum/Akamai (2006-2018) and DNS-OARC (since 2019) 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.

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

See also the dnsperf(1) and resperf(1) man pages.

More information may be found here:

Issues should be reported here:

General support and discussion:

Usage

dnsperf and resperf read input files describing DNS queries, and send those queries to DNS servers to measure performance.

Dependencies

dnsperf requires a couple of libraries beside a normal C compiling environment with autoconf, automake, libtool and pkgconfig.

To install the dependencies under Debian/Ubuntu:

apt-get install -y libssl-dev libldns-dev libck-dev libnghttp2-dev

To install the dependencies under CentOS (with EPEL/PowerTools enabled):

yum install -y openssl-devel ldns-devel ck-devel libnghttp2-devel

To install the dependencies under FreeBSD 12+ using pkg:

pkg install -y openssl ldns concurrencykit libnghttp2

To install the dependencies under OpenBSD 6+ using pkg_add:

pkg_add libldns nghttp2

Building from source tarball

The source tarball from DNS-OARC comes prepared with configure:

tar zxvf dnsperf-version.tar.gz
cd dnsperf-version
./configure [options]
make
make install

Building from Git repository

git clone https://github.com/DNS-OARC/dnsperf.git
cd dnsperf
./autogen.sh
./configure [options]
make
make install

Additional Software

The contrib directory contains additional software related to dnsperf and resperf.

License

Copyright 2019-2023 OARC, Inc.
Copyright 2017-2018 Akamai Technologies
Copyright 2006-2016 Nominum, Inc.
All rights reserved.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

More Repositories

1

PacketQ

A tool that provides a basic SQL-frontend to PCAP-files
JavaScript
393
star
2

flamethrower

a DNS performance and functional testing utility supporting UDP, TCP, DoT and DoH
C++
318
star
3

dnscap

Network capture utility designed specifically for DNS traffic
C
275
star
4

dsc

DNS Statistics Collector
C
108
star
5

drool

DNS Replay Tool
Lua
81
star
6

dnsjit

Engine for capturing, parsing and replaying DNS
C
56
star
7

dnsmeter

Tool for testing performance of nameservers
C++
54
star
8

services

Project and issue tracking for DNS-OARC services
36
star
9

sample-query-data

Sample query data files for use with dnsperf and resperf
23
star
10

cmdns-cli

Check My DNS command line client
Go
19
star
11

dumdumd

High performance UDP/TCP/DoT/DoH DNS "server" that... just drops/reflects everything you send to it
C
17
star
12

bad-packets

Collection of "bad" packets in PCAPs that can be used for testing software
Python
17
star
13

omg-dns

Helper library for parsing valid/invalid/broken/malformed DNS packets
C
16
star
14

dsc-datatool

Tool for converting, exporting, merging and transforming DSC data
Python
16
star
15

dsp

DNS Statistics Presenter
Perl
15
star
16

ripeatlas

Go bindings for RIPE Atlas API
Go
11
star
17

tldmon

Nagios Plugin Scripts for TLDmon
Perl
8
star
18

dns-benchmarking

DNS Benchmarking Tiger Team repository
Python
8
star
19

golang-dns-server-doq

Go library for DNS-over-QUIC server (DoQ, RFC9250)
Go
6
star
20

pcap-thread

PCAP helper library with POSIX threads support and transport layer callbacks
C
6
star
21

sllq

Semi Lock-Less Queue
C
5
star
22

ripe-hackathon-dns-caching

Everything you ever wanted to know about caching resolvers but were afraid to ask
JavaScript
4
star
23

parseconf

Conf parser helper library
C
4
star
24

p5-DSC

Perl library for DSP
Perl
3
star
25

dsc-datatool-grafana

Grafana Dashboards for use with DSC/dsc-datatool
Python
3
star
26

tinyframe

Minimalistic Frame Streams library
C
3
star
27

cryptopANT

IP Address Anonymization Library
C
3
star
28

p5-Net-GetDNS

Perl bindings for getdns, a modern asynchronous DNS API
XS
2
star
29

dns-metrics

DNS Metrics JSON Schema
1
star