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]
option | description |
---|---|
--noreverse | Do not add reverse records. |
--outofzone | Allow out of zone records. |
--verbose | Produce more verbose output. |
--seqstart=n | Start sequence numbering from n. |
--group=name | Assign new hosts to this group. |
--info=user:dept:location:info | Set info fields for all hosts to these values. |
--commit | Commit 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: