custom created a testing tool that performs simple load testing on the DNS server.

The main feature of the tool allows the results to be saved into the database table (schema provided below) and then displaying the statistics of each result at the end of the test. This allows easy verification of the weights configured on the records.

sample output:

Retriving results for test: 4
Number of results:100000
Formatting output…
Query: releases.geo.mozilla.com
Test started on: 2009-08-05 20:41:41
155.98.64.83    17699(17.70%)
149.20.20.5     17613(17.61%)
129.101.198.59  13460(13.46%)
128.61.111.9    13320(13.32%)
204.152.184.113 6751(6.75%)
202.177.202.154 6693(6.69%)
131.188.12.212  6564(6.56%)
156.56.247.196  4437(4.44%)
64.50.236.214   2365(2.37%)
64.50.238.52    2268(2.27%)
64.50.236.52    2264(2.26%)
204.152.184.196 2231(2.23%)
216.165.129.141 2191(2.19%)
204.246.0.136   2144(2.14%)
Average Query Time: 0.00868 seconds

Files:

loadDNS.pl
database-testLoad.sql