This command can be used to add host entries into existing zone in Sauron from a text file that is standard zone-file format.
addhosts [--help] {server} {zone} {file} [OPTIONS]
option | description |
---|---|
--name=regexp | Host name filter. Only add hosts if domainname matches to given regular expression. |
--newonly | Add only hosts that do not already exist in Sauron database. |
--noreverse | Do not add reverse records. |
--outofzone | Allow out of zone records. |
--verbose | Produce more verbose output. |
--group=name | Assign new hosts into given group. |
--info=user:dept:location:info | Set info fields for all imported host to these values. |
--force=type | Force host record in Sauron to be this type: dhcp-only |
--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.