As part of load and resilience testing of our new DDI (DNS, DHCP and IPAM) solution, we wanted to populate DNS zones with a lot of A records using dnsperf.
So, I used a bash shell script (dnsadd.sh) that does the following:
- Generates random hostnames and IP addresses for the addition of DNS A records to a specific DNS zone.
- Uses dnsperf to load the DNS A records into the DNS zone
The script may be modified to add different DNS resource record types and use other dnsperf features.