The purpose of the lab is to setup the resolver on the first server. You should install only one of the resolvers -- not all of them.
-
Connect to the server (resolverX.lab.nxdomain.se) by using SSH or PuTTY.
-
Change the host name.
hostnamectl set-hostname resolverX.lab.nxdomain.se
-
Logout and login to get an updated command prompt.
-
Upgrade base operating system:
dnf upgrade
-
Uninstall Unbound if previously installed:
dnf remove unbound
-
Install BIND as the resolver. Also install
bind-utils
fordig(1)
:dnf install bind bind-utils
-
Enable and start BIND:
systemctl enable --now named
-
Verify by using dig. Notice that the AD-flag is set.
dig @127.0.0.1 +dnssec www.knot-dns.cz
-
Also try resolving a domain where DNSSEC is broken.
dig @127.0.0.1 www.trasigdnssec.se
But we can see that in fact the domain does contain the information if we bypass the DNSSEC validation:
dig @127.0.0.1 +cd +dnssec www.trasigdnssec.se
Next Section: Install Knot