generatehosts

This is a utility for generating number of similar host entries into Sauron database with one command.

generatehosts [--help] {server} {zone} {hostname} {starting-IP} {count} [OPTIONS]

optiondescription
--noreverseDo not add reverse records.
--outofzoneAllow out of zone records.
--verboseProduce more verbose output.
--seqstart=nStart sequence numbering from n.
--group=nameAssign new hosts to this group.
--info=user:dept:location:infoSet info fields for all hosts to these values.
--commitCommit changes (without this no changes are made into database).

By default this program will not make any changes to Sauron database, it will only display what would be made. Use --commit to make changes into Sauron database.

Hostname argument serves as a template for hostname of generated hosts. Following tags can be used in hostname:

:N:current sequence number
:IP1:first octet of current IP-number
:IP2:second octet of current IP-number
:IP3:third octet of current IP-number
:IP4:fourth octet of current IP-number