OPS535-L2

From CDOT Wiki
Revision as of 02:20, 19 September 2016 by Rchan (talk | contribs) (Created page with "= Overview = In this lab, you are going to build a primary name server for your assigned DNS domain using the BIND package on your VM1 running CentOS 7,x. Primary name server...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Overview

In this lab, you are going to build a primary name server for your assigned DNS domain using the BIND package on your VM1 running CentOS 7,x. Primary name server does not depend upon having access to other name servers in order to function.

Once you have your primary name server running, use command line DNS client tool(s) to test the correctness of your Primary DNS server.

Please check the variable $ROOTDIR in /etc/sysconfig/named file. It sets the "root" directory for the running BIND process. Make sure that you have the bind-chroot package installed. Once you have the bind-chroot package installed, the variable $ROOTDIR will be set to /var/named/chroot after activation. If the variable $ROOTDIR is set to /var/named/chroot, the manin configuration for BIND "named.conf" should be in the "/var/named/chroot/etc" directory and all the other zone files should be in the "/var/named/chroot/var/named" directory.

Reference

BIND 9 Administrator Reference Manual]

Tasks

  • Set up an authoritative primary DNS server for your assigned domain and assigned virtual network (i.e. forward lookup zone and reverse lookup zone).
  • Test the correctness of your DNS server operation.
  • Study the DNS traffic and the DNS query and response packets.