OPS535 DNS Review

From CDOT Wiki
Revision as of 11:57, 25 November 2019 by Peter.callaghan (talk | contribs) (Adding textbook reading)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
  • Text book: Chapter 17

Name Resolution on Linux systems

  • control file: /etc/nsswitch.conf

File Based Name Resolution

Flat file name resolution

  • mapping information store in /etc/hosts
  • same contents on each system share the same name space

DNS name resolution

  • use client-server model

DNS Client (Resolver)

  • Configuration file: /etc/resolv.conf - mainly tells the local computer which machines should be used to answer your DNS queries.

DNS Server (BIND)

  • Configuration file: /etc/named.conf - server options and which domains are their resposibility
  • Zone files: location specified in the /etc/named.conf - contains information of the zone(s)
  • Role of server:
    • Cache-only server
    • Primary Server
    • Secondary Server
    • Root name server

DNS review/tutorial Lab

If you want to refresh your memory about setting up a DNS server, please try the following lab exercise. The following lab exercise contains a simple configuration file named.conf and the necessary zone files for you to practice. The following two links will take you to the DNS lab exercise document (in PDF format) and the gzip tar ball file, which contains the BIND configuration file and the zone files:

After downloading the gzip tar ball file to your system, you should backup the files and sub-directories in /var/named/chroot before unpacking the files from the tar ball.

DNS Extras