WHAT’S THE BEST DNSONLY CPANEL SETUP? WE PERF-TESTED THREE DIFFERENT SYSTEMS
- Category : Server Administration
- Posted on : Oct 11, 2016
- Views : 2,867
- By : Hagen V.

What’s the best DNSONLY setup for cPanel? What DNS server performs the best under stress?
We set out to answer those questions by conducting a series of performance tests. Before disclosing the final results, let me walk you through what was done:
The three systems we tested are as follows:
- Bind
- PowerDNS
- MyDNS
They were all set up in a testing server with the following specs:
- 2048 MB RAM
- 2048 MB swap
- 2 CPU cores
The testing server was KVM-virtualized, so resources were fully dedicated to it.
From a different server, we attempted a maximum of 5000 concurrent connections to the testing server, for a period of 5 seconds.
In order to measure the performance of each DNS system when hit with those connections, we used dnsperf.
These were the results:
BIND
<span style="font-weight: 400;"> Queries sent: 200143</span> <span style="font-weight: 400;"> Queries completed: 190422 (95.14%)</span> <span style="font-weight: 400;"> Queries lost: 9721 (4.86%)</span> <span style="font-weight: 400;"> Response codes: NOERROR 190422 (100.00%)</span> <span style="font-weight: 400;"> Average packet size: request 33, response 121</span> <span style="font-weight: 400;"> Run time (s): 5.022790</span> <span style="font-weight: 400;"> Queries per second: 37911.598932</span> |
<span style="font-weight: 400;"> Average Latency (s): 0.006529 (min 0.000204, max 0.033881)</span> <span style="font-weight: 400;"> Latency StdDev (s): 0.004488</span> |
MyDNS
<span style="font-weight: 400;"> Queries sent: 107358</span> <span style="font-weight: 400;"> Queries completed: 94028 (87.58%)</span> <span style="font-weight: 400;"> Queries lost: 13330 (12.42%)</span> <span style="font-weight: 400;"> Response codes: NOERROR 94028 (100.00%)</span> <span style="font-weight: 400;"> Average packet size: request 33, response 120</span> <span style="font-weight: 400;"> Run time (s): 5.018592</span> <span style="font-weight: 400;"> Queries per second: 18735.932309</span> <span style="font-weight: 400;"> Average Latency (s): 0.028210 (min 0.001579, max 0.064851)</span> <span style="font-weight: 400;"> Latency StdDev (s): 0.007960</span> |
PowerDNS
<span style="font-weight: 400;"> Queries sent: 101339</span> <span style="font-weight: 400;"> Queries completed: 87176 (86.02%)</span> <span style="font-weight: 400;"> Queries lost: 14163 (13.98%)</span> <span style="font-weight: 400;"> Response codes: NOERROR 87176 (100.00%)</span> <span style="font-weight: 400;"> Average packet size: request 33, response 80</span> <span style="font-weight: 400;"> Run time (s): 5.009301</span> <span style="font-weight: 400;"> Queries per second: 17402.827261</span> <span style="font-weight: 400;"> Average Latency (s): 0.015255 (min 0.000908, max 0.030840 |