...
Debian/Ubuntu:
No Format |
---|
apt-get install unbound systemctl enable unbound systemctl startupdate apt-get install unbound |
RHEL/CentOS:
No Format |
---|
yum install unbound chkconfig unbound on service unbound start |
...
Debian/Ubuntu:
No Format |
---|
apt-get install pdns-recursor systemctl enable pdns-recursor systemctl startupdate apt-get install pdns-recursor |
RHEL/CentOS:
...
No Format |
---|
dnf install pdns-recursor systemctl enable pdns-recursor systemctl start pdns-recursor |
...
...
BIND
...
Debian
...
/
...
Ubuntu:
The Debian system uses APT (Advanced Package Tool) to manage the system. The following commands will install BIND (Berkeley Internet Name Daemon) version 9 on the system.
No Format |
---|
apt-get update apt-get install bind9 |
The default configuration for the Debian package is install a caching nameserver suitable for Internet use. After installation the daemon will be configured and running.
Red Hat and Fedora GNU/Linux
On Red Hat and Fedora systems the BIND software is in the "bind" rpm package. The "caching-nameserver" rpm package contains a caching nameserver configuration suitable for Internet use. Locate those packages from your vendor and install them. The http://rpmfind.net rpm search site is very useful for locating rpms for your system.
On Red Hat the following commands will install BIND and a caching nameserver configuration on the system. The version numbers used in the following example are purely for example. Use the current package version for your system release. This example shows a typical installation on RH9.
After installation the daemon will need to be configured and started. The following commands will configure the BIND name daemon to be started at system boot time and then will start the daemon.RHEL/CentOS:
No Format |
---|
rpmyum -Uvhinstall bind-9.2.1-16.i386.rpm rpm -Uvh caching-nameserver-7.2-7.i386.rpm bind-utils chkconfig named on service named start |
If you have yum installed, you can use the following commands to install and enable the latest caching nameserver package. yum will take care of installing any dependencies (including the BIND named package) required.Fedora:
No Format |
---|
yumdnf install bind cachingbind-nameserverutils chkconfigsystemctl enable named on service named start |
BIND Resources
...
systemctl start named
|
...
Gentoo Linux
On Gentoo the dnsmasq package is called "net-dns/dnsmasq".
No Format |
---|
emerge net-dns/dnsmasq
rc-update add add dnsmasq default
|
The daemon can be configured with the files /etc/conf.d/dnsmasq
and /etc/dnsmasq.conf
.
djbdns
djbdns/tinydns is D. J. Bernstein's DNS daemon.
If you have a good guide to the commands required to install this on a typical system, please edit this page and fill out this section.
Debian
...
:
To install djbdns on Debian you need to fetch (with apt for example) the packages "daemontools-installer" and "djbdns-installer". What this packages will do is fetch the source code, compile it, and create Debian packages both for daemontools and djbdns. After installing those packages, you can issue the commands "build-daemontools" and "build-djbdns" which will create the final debian packages and prompt for installation. Example:
...
After installing djdbs, you need to create the "dnscache" instance under /service. Suposing Supposing you want the cache to listen on the loopback device, you would do:
...