This script was added to provide loldns with an equivalent to BIND's $GENERATE flag. Although this script in fact simply creates an appropriate zone file, it is simple enough to be totally effective.
The script is currently included in the svn trunk.

[root@li39-174 loldns]# ./generate.pl Usage: ./generate.pl hostname first-ip number >> data In the hostname, a # will represent your number eg ./generate.pl static#.lolware.net 192.168.0.1 24
The above piece example adds the following to a zone file:
=static1.lolware.net:192.168.0.1 =static2.lolware.net:192.168.0.2 =static3.lolware.net:192.168.0.3 =static4.lolware.net:192.168.0.4 =static5.lolware.net:192.168.0.5 =static6.lolware.net:192.168.0.6 =static7.lolware.net:192.168.0.7 =static8.lolware.net:192.168.0.8 .. =static24.lolware.net:192.168.0.24
A quick lookup shows:
[root@li39-174 root]# dig +short static15.lolware.net 192.168.1.15
As all entries are added as PTR/A combo records, reverse DNS would also now work if those IPs were in fact delegated to my nameserver.