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 BIND if previously installed:
dnf remove bind
-
Install Unbound as the resolver. Also install
bind-utils
fordig(1)
:dnf install openssl unbound bind-utils
-
Enable and start Unbound:
systemctl enable --now unbound
-
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