Domain Name Server - Alternative¶
NSD Domain Server is an authoritative only, high performance, simple and open source name server.
NSD is in the Ubuntu software packages repository.
As of Sep 12, 2018 there is an issue with the installation package of NSD. The installation appears to fail, as the service can’t be started. As a work-around, create the user and group nsd before starting the installation.
$ sudo adduser --system --group --no-create-home --home /etc/nsd nsd $ sudo apt-get install nsd
The installation does the following
- A configuration directory structure
- The main configuration file
- Private key and certificate called nsd_control in PEM format.
- Private key and certificate called nsd_server in PEM format.
- The subdirectory
/etc/nsd/nsd.conf.dto include additional configuration files.
- A directory
/var/lib/nsdowned by root for storing dynamically added zones, the database
/var/lib/nsd/nsd.db, the transfer state file
- A directory
/var/lib/nsddb/owned by root containing various
- The Ubunntu Upstart job configuration
/etc/init/nsd.confis created and the job started.
- There is also a system service script
/etc/init.d/nsdcreated. But it starts only if no running Ubuntu Upstart job is detected.
The main configuration file
/etc/nsd/nsd.conf installed is emtpy. But a
sample configuration files
provided in compressed format. To read it one can use the following command:
$ zless /usr/share/doc/nsd/examples/nsd.conf.gz
Additionally there is a manpage nsd.conf(5) and the official online documentation
Add log files to monitor
This function is not suitable for sending spam e-mails.