Test Program for the Performance Analysis of DNS64 Servers

Gábor Lencse


In our earlier research papers, bash shell scripts using the host Linux command were applied for testing the performance and stability of different DNS64 server imple­mentations. Because of their inefficiency, a small multi-threaded C/C++ program (named dns64perf) was written which can directly send DNS AAAA record queries. After the introduction to the essential theoretical background about the structure of DNS messages and TCP/IP socket interface programming, the design decisions and implementation details of our DNS64 performance test program are disclosed. The efficiency of dns64perf is compared to that of the old method using bash shell scripts. The result is convincing: dns64perf can send at least 95 times more DNS AAAA record queries per second. The source code of dns64perf is published under the GNU GPLv3 license to support the work of other researchers in the field of testing the performance of DNS64 servers.

Full Text:



M. Bagnulo, A Sullivan, P. Matthews and I. Beijnum, “DNS64: DNS extensions for network address translation from IPv6 clients to IPv4 servers”, IETF, April 2011. ISSN: 2070-1721 (RFC 6147)

M. Bagnulo, P. Matthews and I. Beijnum, “Stateful NAT64: Network address and protocol translation from IPv6 clients to IPv4 servers”, IETF, April 2011. ISSN: 2070-1721 (RFC 6146)

K. J. O. Llanto and W. E. S. Yu, “Performance of NAT64 versus NAT44 in the context of IPv6 migration”, in Proc. International MultiConference of Engineers and Compuer Scientists 2012 (IMECS 2012), Hong Kong, March 14-16, 2012, vol. I, pp. 638-645.

C. P. Monte et al, “Implementation and evaluation of protocols translating methods for IPv4 to IPv6 transition”, Journal of Computer Science & Technology, ISSN: 1666-6038, vol. 12, no. 2, (August, 2012). pp. 64-70.

S. Yu, B. E. Carpenter, “Measuring IPv4 – IPv6 translation techniques”, Technical Report 2012-001, Department of Computer Science, The University of Auckland, January 2012.

G. Lencse and S. Répás, “Performance analysis and comparison of different DNS64 implementations for Linux, OpenBSD and FreeBSD”, in Proc. IEEE 27th Internat. Conf. on Advanced Information Networking and Applications (AINA 2013), Barcelona, Spain, 2013, pp. 877–884. DOI: 10.1109/AINA.2013.80

G. Lencse and G. Takács, “Performance analysis of DNS64 and NAT64 solutions”, Infocommunications Journal, vol. 4, no 2, pp. 29–36, Jun. 2012.

G. Lencse, S. Répás, “Performance analysis and comparison of four DNS64 implementations under different free operating systems”, unpublished.

Nominum, “Measurement tools: DNSPerf and ResPerf downloads”, https://nominum.com/measurement-tools/

die.net, “dnsperf(1) – Linux man page”, http://linux.die.net/man/1/dnsperf

Nominum, “Sample query input file”, ftp://ftp.nominum.com/pub/nominum/dnsperf/data/queryfile-example-10million-201202.gz

S. J. Cox, J. T. Cox, R. P. Boardman, S. J. Johnston, M. Scott, N. S. O’Brien, “Iridis-pi: a low-cost, compact demonstration cluster”, Cluster Computing, vol. 17, no. 2, June 2014, pp. 349-358. DOI: 10.1007/s10586-013-0282-7

G. Lencse and S. Répás, "Benchmarking Single Board Computers for Building a Mini Supercomputer for Simulation", 38th Internat. Conf. Telecomm. and Signal Proc. (TSP 2015), Prague, Czech Republic, July 9-11, 2015, Brno University of Technology, pp. 246-251.

C. Bao, C. Huitema, M. Bagnulo, M Boucadair and X. Li, “IPv6 addressing of IPv4/IPv6 translators”, IETF RFC 6052, 2010.

G. Lencse, A. G. Soós, “Design of a tiny multi-threaded DNS64 server”, in Proc. 38th Internat. Conf. Telecomm. and Signal Proc. (TSP 2015), Prague, Czech Republic, 2015, Brno University of Technology, pp. 27-32.

P. Mockapetris, “Domain names – implementation and specification”, IETF, November 1987. (RFC 1035)

Free Software Foundation, GNU General Public License, Version 3, June 29, 2007, http://www.gnu.org/licenses/gpl-3.0.en.html

Hardkernel, Odroid C1+, (product description of the manufacturer), http://www.hardkernel.com/main/products/prdt_info.php?g_code=G143703355573

M. Georgescu, “Benchmarking Methodology for IPv6 Transition Technologies”, IETF 93, Prague, Czech Republic, slides available: https://www.ietf.org/proceedings/93/slides/slides-93-bmwg-6.pdf

M. Georgescu, H. Hazeyama, Y. Kobayashi, S. Yamaguchi, “Empirical analysis of IPv6 transition technologies using the IPv6 Network Evaluation Testbed”, EAI Endorsed Transactions on Industrial Networks and Intelligent Systems, vol 2, no 2, e1, (2015), DOI: 10.4108/inis.2.2.e1

G. Lencse, “dns64perf source code”, http://ipv6.tilb.sze.hu/dns64perf/

DOI: http://dx.doi.org/10.11601/ijates.v4i3.121


  • There are currently no refbacks.