CREDNSCNAMESYNOPSIS DESCRIPTION OPTIONS FILES DIAGNOSTICS SEE ALSO AUTHORS BUGS NAMEcrednsc − credns control script. SYNOPSIScrednsc −c configfile start | stop | reload | rebuild | restart | running | update | notify | patch DESCRIPTIONCrednsc is the shell script that used to control credns(8) and zonec(8) from credns distribution. Crednsc is also suitable to be linked into /etc/rc.d directory on BSD like systems for automatic startup of credns(8) at boot time. At every invokation, crednsc will try to read the credns.conf(5) configuration file. An example of such configuration file is distributed with the credns package as credns.conf.sample. The config file is checked for errors before it is used, see credns−checkconf(8). Possible crednsc applications are:
rebuild Rebuild the credns(8) database by invoking zonec(8) with appropriate arguments. restart Restart crednsc(8). This equals to crednsc stop && crednsc start. running Check whether credns(8) is running. Returns error message and error code if it is not running, and no message and zero error code otherwise.
Another method you can use is to stop credns, delete the xfrd.state file and then start credns again. It will try to update all zones. This method does not require allow−notify: statements.
OPTIONS−c configfile Specify configfile to use instead of the default /etc/credns/credns.conf. FILES/etc/credns/credns.conf Configuration file for credns to change default pathnames and credns flags. The zone names, pathnames to zone files and access control lists are also in credns.conf(5). /var/db/credns/credns.db default credns database /var/db/credns/credns.db.lock Lockfile for the credns database access by operator tools. /var/db/credns/ixfr.db Journal of zone transfers, the diff file containing the new zone contents transferred. /var/db/credns/xfrd.state State for the zone transfer process of credns. Contains timeouts for the zones and whether zones are expired. /var/run/credns.pid the process id of the name server. DIAGNOSTICSCrednsc will return zero return code if operation was successful and an error message to standard output plus a non−zero return code otherwise. SEE ALSOcredns(8), credns.conf(5), credns−checkconf(8), credns−notify(8), credns−patch(8), credns−xfer(8) AUTHORSCredns was written by NLnet Labs. NSD was written by NLnet Labs and RIPE NCC joint team. Please see CREDITS file in the distribution for further details. BUGSSyntax checking of the config file is rudimentary and error messages may be wrong. If you do a crednsc patch, whilst a (long) zone transfer is busy, the zone transfer contents will be partially lost. After a reload, this will be detected and the zone transfer should be restarted. The reload that happens at the end of crednsc patch also frees up memory churn in credns caused by zone transfers. ←Credns |