Skip to content

Latest commit

 

History

History
44 lines (23 loc) · 1.1 KB

recursive-bind.md

File metadata and controls

44 lines (23 loc) · 1.1 KB

Setup a Secure Resolver using BIND

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.

  1. Connect to the server (resolverX.lab.nxdomain.se) by using SSH or PuTTY.

  2. Change the host name.

    hostnamectl set-hostname resolverX.lab.nxdomain.se
    
  3. Logout and login to get an updated command prompt.

  4. Upgrade base operating system:

    dnf upgrade
    
  5. Uninstall Unbound if previously installed:

    dnf remove unbound
    
  6. Install BIND as the resolver. Also install bind-utils for dig(1):

    dnf install bind bind-utils
    
  7. Enable and start BIND:

    systemctl enable --now named
    
  8. Verify by using dig. Notice that the AD-flag is set.

    dig @127.0.0.1 +dnssec www.knot-dns.cz
    
  9. 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