This is the program for generating DNS and DHCP configuration files from Sauron database for given server.
sauron [--help] [OPTIONS] {servername} [target directory]
option | description |
---|---|
--all | Generate all (DNS & DHCP) configuration files. |
--bind | Generate BIND (named) configuration files. |
--dhcp | Generate DHCP (dhcpd) configuration files. |
--printer | Generate PRINTER (lpd) configuration files (not yet implemented). |
--clean | Cleanup expired host records from the server. By default host records that have been expired over 30 days are removed, but this can be controlled using configuration file option SAURON_REMOVE_EXPIRED_DELAY. |
--updateserial | force SOA serial number update on master zones. |
--check | Check validity of generated DNS & DHCP configuration files. (see the Section called Generating DNS & DHCP Configurations in Chapter 3). |
--dhcp2 | Enable DHCP v2 compatibility mode. |
Enable email notification sending. |
Option --updateserial forces the update of zone SOA serial numbers for master zones. Normally Sauron tries to detect if zone serial number update is necessary and update it only when needed, but this detection routine may sometimes fail, so for now it's recommended to use --updateserial option.