|-4||Only listen to IPv4 connections.|
|-6||Only listen to IPv6 connections.|
|Listen to the specified ip-address. The ip-address must be specified in numeric format (using the standard IPv4 or IPv6 notation). Optionally, a port number can be given. This flag can be specified multiple times to listen to multiple IP addresses. If this flag is not specified, credns listens to the wildcard interface.|
|Read specified configfile instead of the default /usr/local/etc/credns/credns.conf. For format description see credns.conf(5).|
|-d||Turn on debugging mode, do not fork, stay in the foreground.|
|Use the specified database instead of the default of /var/db/nsd/nsd.db. If a zonesdir: is specified in the config file this path can be relative to that directory.|
|-h||Print help information and exit.|
|Return the specified identity when asked for CH TXT ID.SERVER (This option is used to determine which server is answering the queries when they are multicast). The default is the name returned by gethostname(3).|
|-I nsid||Add the specified nsid to the EDNS section of the answer when queried with an NSID EDNS enabled packet.|
|Log messages to the specified logfile. The default is to log to stderr and syslog. If a zonesdir: is specified in the config file this path can be relative to that directory.|
|-N count||Start count credns servers. The default is 1. Starting more than a single server is only useful on machines with multiple CPUs and/or network adapters.|
|The maximum number of concurrent TCP connection that can be handled by each server. The default is 10.|
|Use the specified pidfile instead of the platform specific default, which is mostly /var/run/nsd/nsd.pid. If a zonesdir: is specified in the config file, this path can be relative to that directory.|
|-p port||Answer the queries on the specified port. Normally this is port 53.|
|Produce statistics dump every seconds seconds. This is equal to sending SIGUSR1 to the daemon periodically.|
|Specifies a directory to chroot to upon startup. This option requires you to ensure that appropriate syslogd(8) socket (e.g. chrootdir /dev/log) is available, otherwise credns wont produce any log output.|
|Drop user and group privileges to those of username after binding the socket. The username must be one of: username, id, or id.gid. For example: credns, 80, or 80.80.|
|-V level||This value specifies the verbosity level for (non-debug) logging. Default is 0.|
|-v||Print the version number of credns to standard error and exit.|
|Credns reacts to the following signals:|
|Stop answering queries, shutdown, and exit normally.|
|SIGHUP||Reload the database.|
|Dump BIND8-style statistics into the log. Ignored otherwise.|
/var/db/nsd/nsd.db default credns database /var/run/nsd/nsd.pid the process id of the name server. /usr/local/etc/credns/credns.conf default credns configuration file
will log all the problems via the standard syslog(8) daemon facility, unless the -d option is specified.
Credns 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.
Credns is a fork of NSD(8) and inherits all its bugs.
Because of credns is implemented as a fork of NSD(8), it currently functions as a complete authoritative DNS namservers. However, this functionality is not strictly necessary of credns type operation and might disappear in future releases. Credns has a different orientation as NSD and might develop into an entirely different direction.
|NLnet Labs||CREDNS (8)||jun 22, 2012|