User Tools

Site Tools


software:dns:builddnsserver

This is an old revision of the document!


Install and configure Bind9

We use Devuan Linux for a lot of applications. The following code will install Bind9 on a Devuan server.

# install the bind9 package on a Devuan (Debian) server
apt install -y bind9 bind9utils bind9-doc bind9-host dnsutils
# verify the running version (just for fun)
named -v
# set localhost to be a nameserver for this system
echo 'nameserver 127.0.0.1' >> /etc/resolv.conf

Note the last line. If this machine has a static IP address, it probably is pointing to a DNS server that is not internal. However, we have a fully functional name server right here, so why not use it?

software/dns/builddnsserver.1618017852.txt.gz · Last modified: 2021/04/09 20:24 by rodolico