Hi all,

Today I had to create some bogus data for PowerDNS. Because I wasn't in the mood to enter all this data by hand I wrote a little script to take care of this task. The script is written in PHP5 and requires the mysqli extension to be loaded. What this script does is fill your database with by default 1500 domains with 7 records for each domain (SOA, NS, MX, domain A, www A, mail A, localhost A).

You can find the script at http://trancer.nl/php/pdns-filler.txt
A highlighted version can be found at http://trancer.nl/php/pdns-filler.phps

Hopefully this can be of use to anyone else.

Regards,

Roeland Nieuwenhuis
_______________________________________________
Pdns-users mailing list
[email protected]
http://mailman.powerdns.com/mailman/listinfo/pdns-users

Reply via email to