If you want to customize DNS Manager to meet your requirements, you can use the command line utilities included in the software distribution. This way you can configure the low level engine and the DNS Manager interface.
Low level engine configuration
The file /etc/dnsmanager/dnsmanager.conf
contains several directives which control the DNS Manager low level behavior.
These directives cannot be modified using the browser interface. You should only modify them if you fully understand their functionality.
These values are modified during the product installation based on admin input. If you change these values, you might experience problems.
The following directives are included in the list:
Directive | Description |
---|---|
DNSMANAGER_ROOT_D | The directory containing the DNS Manager interface files. The default value is |
DNSMANAGER_RC_D | The script used for start/stop dnsmanager daemon. On Red Hat RPM installation the script location is /etc/rc.d/init.d/dnsmanager. |
MYSQL_BIN_D | The MySQL binary directory. The MySQL location on Red Hat RPM installation is /usr/bin. |
MYSQL_RC_D | The script used for start/stop MySQL daemon. The script location on a Red Hat RPM installation is /etc/rc.d/init.d/mysql. |
MYSQL_VAR_D | The MySQL databases directory. The default location on a Red Hat RPM installation is /var/lib/mysql |
NAMED_RC_S | The name of named daemon. Depending on Red Hat distribution used, can be named or named-chroot . On Red Hat RPM installation is used named-chroot . |
RNDC_BIN_D | The path to rndc binary used for communicating with named. The default location is /usr/sbin. |
ZONEMNG_RC_D | The default location is /etc/rc.d/init.d/zonemngd. |
UPDATEURL_RC_D | The default location is /etc/rc.d/init.d/updateurld. |
NAMED_D | The root directory for the named daemon. On Red Hat RPM installation the named root directory is /var/named/chroot. |
NAMED_FILE | The named configuration file relative to NAMED_D. The default value is /etc/dnsmanager.include. |
NAMED_SBIN_D | The named binary directory. On a Red Hat standard RPM installation the default is |
RNDC_FILE | The rndc configuration file. The default value is /etc/rndc.conf. |
MASTER_D | The named master zone files location. The default value is /var/named. |
SECONDARY_D | The named slave zones files location. The default value is /var/named/slaves. |
TEMPLATES_D | The directory containing the monitoring email templates. The default value is /var/lib/dnsmanager/templates. |
TEMP_D | The temporary working directory for DNS Manager. The default value is /usr/local/dnsmanager/tmp. |
DOWNLOAD_D | The temporary directory used by DNS Manager to download files with DNS Zone information from remote locations. The default value is /usr/local/dnsmanager/tmp/download. |
DAEMON_NAME | The name of the Bind daemon. This name is used by DNS Manager for monitoring and other operations. The default value is named. |
SENDMAIL_BIN_FILE | The path to sendmail file. The default value is /usr/sbin/sendmail -t. |
DIG_BIN_D | Dig application path. The default value is /usr/bin. |
YUM_BIN_D | The yum updater binary directory. On Red Hat RPM installation, the yum binary directory is /usr/bin. |
YUM_CACHE_D | The folder used as installer directory. The default value is /var/cache/dnsmanager. |
DUMPS_D | The daily dumps directory. The default value is /var/lib/dnsmanager/dumps. |
DNSMANAGER_LOG_D | The folder used as logging directory. The default value is /var/log/dnsmanager. |
NAMED_USERNAME | The username under which named service runs. The default value is named. |
NAMED_GROUP | The group name under which the named service runs. The default value is named. |
ZONEMNG_PID_FILE | The zonemng process ID file. The default value is /var/run/zonemng.pid. |
UPDATEURL_PID_FILE | The updateurld process ID file. The default value is /var/run/dnsmanager/updateurl.pid. |
UPDATEURL_USER | The user updateurld is running as. The default value is dnsmanager. |
UPDATEURL_GROUP | The group updateurld is running as. The default value is dnsmanager. |
DOWNLOAD_URL_TIMEOUT | The time granted to download a file from a remote location (seconds). You may increase this value if you experience download problems. The default value is 45. |
DOWNLOAD_URL_CONNECT_TIMEOUT | Time granted to the remote update process to connect to a remote location (seconds). You may increase this value if you experience download problems. The default value is 15. |
UPDATEURL_CONCURRENCY_LIMIT | Maximum number of concurrent processes in updateurld. The default value is 10. |
ZONEMNG_CONCURRENCY_LIMIT | Maximum number of concurrent processes in zonemngd. The default value is 10. |
MAX_DOWNLOAD_THREADS | Maximum number of concurrent download processes. The default value is 20. |
MAX_DAILY_RESTART | Maximum number of daily named restarts made by DNS Manager. Default: 20. |
MAX_FILE_SIZE | The maximum size of a file DNS Manager will download from a remote location (kB). The default value is 1000. |
MAX_ZONES_PERFILE | The maximum number of DNS Zones which can exist in a remote update file. DNS Manager will not process a larger number of DNS Zones. The default value is 10000. |
MAX_RECORDS | The maximum number of DNS records in a zone file. The default value is 500. |
ZONEMNG_RUN_INTERVAL | The interval in seconds when zonemng is getting changes from database. The default value is 120. |
UPDATEURL_RUN_INTERVAL | The interval in seconds when updateurl is trying to download URLs. The default value is 120. |
ZONE_SERIAL RFC | DNS Manager can write the zone serial number in two formats (RFC1912 and timestamp). Valid options: RFC and timestamp. The default value is RFC. |
DB_HOST | The hostname used by DNS Manager low-level scripts to connect to the database. |
DB_NAME | The database name used by DNS Manager. Do not change this value because DNS Manager requires the dnsmanager database name. |
DB_USER | The user DNS Manager uses to connect to the database. |
DB_PASSWD | The password DNS Manager uses to connect to the database. |
??RRMONIT_MAX_THREADS | The maximum number of threads used by the rrmonitd deamon when monitoring records. The default value is 4. |
RRMONIT_TIMEOUT | The timeout interval for the rrmonitd deamon. The default value is 15. |
RRMONIT_POLLING_INTERVAL | The time interval used by rrmonitd between two consecutive polling list read. The default value is 30. |
RRMONIT_CONCURRENCY | The number of threads for monitoring daemon. The default value is 4. |
RRMONIT_DRIFT | Seconds to delay the concurrent polls that exceed. The default value is 7. |
RRMONIT_PID_FILE | PID file for the rrmonitd deamon. The default value is /var/run/dnsmanager/rrmonit.pid. |
RRMONIT_D | The monitoring scripts path for the rrmonitd deamon. The default value is /usr/local/dnsmanager/rrmonit/bin. |
RRMONIT_RC_D | rrmonitd start/stop script. The default value is /etc/init.d/rrmonitd. |
UPDATEURL_LOG_ENGINE_TYPE | The name of log engine used by updateurl . Can be set to zlog, stdlog or syslog. Default value is zlog . |
UPDATEURL_LOG_ENGINE_DATA | The configuration file for output logs when zlog is used as log engine for updateurl. The default value is /etc/dnsmanager/zlog_updateurl.conf. |
UPDATEURL_LOG_LEVEL | The value of log level set for updateurld . Log level can be one of: EMERG, ALERT, CRITICAL, ERROR, WARNING, NOTICE, INFO, DEBUG. Default value is WARNING. |
ZONEMNG_LOG_ENGINE_TYPE | The name of log engine used by zonemng. Can be set to zlog, stdlog or syslog. Default value is zlog. |
ZONEMNG_LOG_ENGINE_DATA | The configuration file for output logs when zlog is used as log engine for zonemng . The default value is /etc/dnsmanager/zlog_zonemng.conf. |
ZONEMNG_LOG_LEVEL | The value of log level set for zonemngd . Log level can be one of: EMERG, ALERT, CRITICAL, ERROR, WARNING, NOTICE, INFO, DEBUG. Default value is WARNING. |
RRMONIT_LOG_ENGINE_TYPE | The name of log engine used by rrmonitd. Can be set to zlog, stdlog or syslog. Default value is zlog. |
RRMONIT_LOG_ENGINE_DATA | The configuration file for output logs when zlog is used as log engine for rrmonitd. The default value is /etc/dnsmanager/zlog_rrmonitd.conf. |
RRMONIT_LOG_LEVEL | The value of log level set for rrmonitd . Log level can be one of: EMERG, ALERT, CRITICAL, ERROR, WARNING, NOTICE, INFO, DEBUG. Default value is WARNING. |
NAMED_ACL_FILE | Path of named |
Monitoring script configuration file
The file /etc/dnsmanager/monitoring.conf
contains the services that are monitored and describes the behavior of the monitoring service.
The following directives are included in the file:
Directive | Description |
---|---|
MONIT_EMAILS | Number of daily emails sent by monitoring daemon. |
MONIT_RESTARTS | Number of daily monitoring daemon restarts. |
NAMED_MONIT 1 | DNS server monitoring service. Values: 1 - enabled, or 0 - disabled. |
MYSQL_MONIT 0 | MySQL server monitoring service. Values: 1 - enabled, or 0 - disabled. |
DNSMHTTP_MONIT 0 | Interface monitoring service. Values: 1 - enabled, or 0 - disabled. |
ZONEMNG_MONIT 1 | zonemng monitoring service. Values: 1 - enabled, or 0 - disabled. |
UPDATEURL_MONIT 1 | updateurl monitoring service. Values: 1 - enabled, or 0 - disabled. |
RRMONIT_MONIT 1 | rrmonit monitoring service. Values: 1 - enabled, or 0 - disabled. |
ALERT_EMAIL | The email address where the notifications will be sent. |
Except where otherwise noted, content in this space is licensed under a Creative Commons Attribution 4.0 International.