DNSmanager configuration file (DNSmanager)
From ISPWiki
The control panel settings are located in /usr/local/ispmgr/etc/dnsmgr.conf.
That lines that begin with // (double slash), or begin with /* and end with */ are ignored by the control panel and can be used as comment lines.
General parameters
DefaultLang - interface default language.
DefaultTheme -interface default theme. The following themes are available: aqua, classic and modern (default).
LogLevel - the DNSmanager logging level (/usr/local/ispmgr/var/ispmgr.log). The following logging levels are currently available:
- 0 - notes
- 1 - fatal errors
- 2 - not used
- 3 - errors
- 4 - warnings
- 5 - information
- 6 - detailed information
- 7 - not used
- 8 - debug information (only for developers)
- 9 - trace information (only for developers)
OS - operating system. DNSmanager's updates depend on this parameter.
IPmanager - if you have access to IPmanager, the control panel for managing IP-address, you can enter your server's IP-address, username and password, such as
IPmanager 12.34.56.78 user:password
NamedUID and NamedGID - allow to provide the UID and GID for the DNS server (they are necessary for creating a folder with proper permissions).
NetworkInterface - network interface name to which the IP-addresses for the name space managed by the Bind process must be bound. The first interface name is used by default.
SharedDomains - list of shared domains whose owners do not need to be checked (see the InsecureDomain option).
Options
Options are additional parameters of the DNSmanager configuration file.
Option option_name
The following options are currently supported:
- DisableAutoUpdate - disable the control panel auto-update.
- InsecureDomain - allow users to check owners of the top-level domain when creating a new domain.
If you want to activate several options in the configuration file, you need to add a separate Option directive for each option.
Paths
A path defines location of a file in the system.
path internal_name full_path
The following internal names are currently supported:
- named.conf - location of the named(DNS) configuration file.
- NamedChrootDir - location of the chroot-directory.
- ndc - location of the DNS server management program.
- ZoneDir - location of the directory with domain zone files.
- "'named.restart'" - this command is used to restart named. It will be executed after a new View is created and a new IP address is bound to the interface.
The user accounts are located in /usr/local/ispmgr/etc/dnsmgr.passwd. Each user has the following line:
NAME:ADMIN:PASSWORD:LEVEL:VIEW:USED:LIMIT:SHAREDLIMIT
- NAME - login name to gain access to the control panel.
- ADMIN - administrator (or reseller) account.
- PASSWORD - password hash.
- LEVEL - login level:
- 12 - administrator.
- 11 - reseller.
- 10 - user.
- VIEW - user's domain name space.
- USED - the number of created domains.
- LIMIT - the maximum number of domains a user can create.
- SHAREDLIMIT - the maximum number of subdomains a user can create.
