Difference between revisions of "OPS535 DNS Review"

From CDOT Wiki
Jump to: navigation, search
(DNS Extras)
m (Adding textbook reading)
 
Line 1: Line 1:
 
[[Category:OPS535]][[Category:rchan]]
 
[[Category:OPS535]][[Category:rchan]]
 +
* Text book: Chapter 17
 +
 
=Name Resolution on Linux systems =
 
=Name Resolution on Linux systems =
 
* control file: /etc/nsswitch.conf
 
* control file: /etc/nsswitch.conf

Latest revision as of 11:57, 25 November 2019

  • 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